Ignore errors when uninstalling a pkg with zypper
I.e. when trying to uninstall python-pip and it's not installed, don't exit. Change-Id: I21ac715a0090ad01811af47f23c61823dfa65629
This commit is contained in:
parent
147a3647fe
commit
c15d59157c
@ -1286,7 +1286,7 @@ function uninstall_package {
|
||||
elif is_fedora; then
|
||||
sudo ${YUM:-yum} remove -y "$@" ||:
|
||||
elif is_suse; then
|
||||
sudo zypper rm "$@"
|
||||
sudo zypper rm "$@" ||:
|
||||
else
|
||||
exit_distro_not_supported "uninstalling packages"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user