Add noconfirm flags to install script
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
fae4337748
commit
c832359e43
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user