Disable gpg checks for zypper in install script

This commit is contained in:
2023-12-25 02:27:11 +00:00
committed by GitHub
parent 5dc31f43aa
commit 5999c1c8e6

View File

@@ -42,6 +42,7 @@ installPkg() {
case $1 in
pacman) $rootCmd pacman --noconfirm -U ${@:2} ;;
apk) $rootCmd apk add --allow-untrusted ${@:2} ;;
zypper) $rootCmd zypper --no-gpg-checks install ${@:2} ;;
*) $rootCmd $1 install -y ${@:2} ;;
esac
}