Add emergency interactive package installation fallback
This commit is contained in:
parent
b7afd9dfca
commit
96500223f5
@ -326,7 +326,10 @@ fi
|
||||
|
||||
sudo zypper --non-interactive remove ${RM[@]} ${AL[@]}
|
||||
sudo zypper --non-interactive addlock ${AL[@]}
|
||||
sudo zypper --non-interactive install ${IN[@]}
|
||||
if ! sudo zypper --non-interactive install ${IN[@]}; then
|
||||
echo "Package installation failed, running interactively..."
|
||||
sudo zypper install ${IN[@]}
|
||||
fi
|
||||
|
||||
# Install any codecs not hosted by OpenSUSE
|
||||
sudo zypper --non-interactive --gpg-auto-import-keys addrepo -cfp 90 "${PACKMAN_REPO_URL}" packman
|
||||
|
Loading…
Reference in New Issue
Block a user