V8.03.768.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m22s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-06-17 18:31:45 +02:00
parent b718b1e8c8
commit 6e33d74922

View File

@@ -16,12 +16,12 @@
# None # None
####################################### #######################################
check_pkgs() { check_pkgs() {
if [[ -z "$(command -v lsb_release || true)" ]]; then if [[ -z "$(command -v lsb_release)" ]]; then
apt-get update -y apt-get update -y
apt-get install --no-install-recommends lsb-release -y apt-get install --no-install-recommends lsb-release -y
fi fi
if [[ -z "$(command -v debootstrap || true)" ]]; then if [[ -z "$(command -v debootstrap)" ]]; then
if grep -RqsE '^[[:space:]]*deb .*backports' /etc/apt/sources.list /etc/apt/sources.list.d; then if grep -RqsE '^[[:space:]]*deb .*backports' /etc/apt/sources.list /etc/apt/sources.list.d; then
apt-get update -y apt-get update -y
# shellcheck disable=SC2155 # shellcheck disable=SC2155