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