Add noconfirm flags to install script
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Arsen Musayelyan 2022-12-24 16:35:00 -08:00
parent fae4337748
commit c832359e43
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
}