From 6e33d7492206c6a4dc8c43b7c64282d790a317bf8bd21c23fc977c27d7d705aa Mon Sep 17 00:00:00 2001 From: "Marc S. Weidner" Date: Tue, 17 Jun 2025 18:31:45 +0200 Subject: [PATCH] V8.03.768.2025.06.17 Signed-off-by: Marc S. Weidner --- lib/lib_check_pkgs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lib_check_pkgs.sh b/lib/lib_check_pkgs.sh index 1a0dc80..0cabcd4 100644 --- a/lib/lib_check_pkgs.sh +++ b/lib/lib_check_pkgs.sh @@ -16,12 +16,12 @@ # None ####################################### check_pkgs() { - if [[ -z "$(command -v lsb_release || true)" ]]; then + if [[ -z "$(command -v lsb_release)" ]]; then apt-get update -y apt-get install --no-install-recommends lsb-release -y 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 apt-get update -y # shellcheck disable=SC2155