Fix some install options

This commit is contained in:
crschnick 2024-01-11 18:19:17 +00:00
parent c58ad29309
commit edf22a0815

View file

@ -108,7 +108,7 @@ install() {
elif [ -x "$(command -v zypper)" ]; then
info "Installing file $file with zypper"
sudo zypper refresh
sudo zypper install -y "$file"
sudo zypper install --allow-unsigned-rpm -y "$file"
elif [ -x "$(command -v dnf)" ]; then
info "Installing file $file with dnf"
sudo dnf install -y --refresh "$file"
@ -118,7 +118,7 @@ install() {
sudo yum install -y "$file"
else
info "Installing file $file with rpm"
sudo rpm -i "$file"
sudo rpm -U -v --force "$file"
fi
;;
Darwin)