Add noconfirm flags to install script
This commit is contained in:
parent
0bd0e97656
commit
ab55a790e8
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue