diff --git a/lib/lib_check_pkgs.sh b/lib/lib_check_pkgs.sh index b504e24..c48a492 100644 --- a/lib/lib_check_pkgs.sh +++ b/lib/lib_check_pkgs.sh @@ -22,7 +22,7 @@ check_pkgs() { fi if [[ -z "$(command -v dialog || true)" ]]; then - apt-get install --no-install-recommends dialog -y + if ! $VAR_HANDLER_AUTOBUILD; then apt-get install --no-install-recommends dialog -y; fi fi if [[ -z "$(command -v mkpasswd || true)" ]]; then