diff --git a/init.sh b/init.sh index ca8bad2..91aaef1 100755 --- a/init.sh +++ b/init.sh @@ -77,7 +77,7 @@ deb $SEC_URL $OS_CODE-security main contrib non-free non-free-firmware command="nala" apt update apt install $command || command="apt" - $command install ca-certificates curl gnupg lsb-release zsh + $command install -y ca-certificates curl gnupg lsb-release zsh if [[ $OS_VERSION=="12" ]]; then @@ -122,7 +122,7 @@ install_pkg(){ command -v $command &>/dev/null || command="apt" $command update test -r "$PKG_BASE" - xargs -a <(awk '! /^ *(#|$)/' "$PKG_BASE") -r $command install + xargs -a <(awk '! /^ *(#|$)/' "$PKG_BASE") -r $command install -y } usage(){