Add noconfirm flags to install script
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Elara 2022-12-24 16:35:00 -08:00
parent fae4337748
commit c832359e43

View File

@ -24,9 +24,9 @@ installPkg() {
fi fi
case $1 in case $1 in
pacman) $rootCmd pacman -U ${@:2} ;; pacman) $rootCmd pacman --noconfirm -U ${@:2} ;;
apk) $rootCmd apk add --allow-untrusted ${@:2} ;; apk) $rootCmd apk add --allow-untrusted ${@:2} ;;
*) $rootCmd $1 install ${@:2} ;; *) $rootCmd $1 install -y ${@:2} ;;
esac esac
} }