Add noconfirm flags to install script

This commit is contained in:
Elara 2022-12-24 16:35:00 -08:00
parent 0bd0e97656
commit ab55a790e8
1 changed files with 2 additions and 2 deletions

View File

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