From d1d0cc7b8038305f2192b85d51789f27e01af480 Mon Sep 17 00:00:00 2001 From: darkclip Date: Sat, 3 Feb 2024 02:45:12 +0800 Subject: [PATCH] update --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(){