Fix uninstall error on SUSE
This commit is contained in:
@@ -143,7 +143,7 @@ init() {
|
|||||||
firewall_cmd(){ ifSudo ufw "$@"; }
|
firewall_cmd(){ ifSudo ufw "$@"; }
|
||||||
elif [[ "$ID" =~ ^opensuse.* ]]; then
|
elif [[ "$ID" =~ ^opensuse.* ]]; then
|
||||||
pkg_install(){ ifSudo zypper --non-interactive -q install --force --no-confirm "$@"; }
|
pkg_install(){ ifSudo zypper --non-interactive -q install --force --no-confirm "$@"; }
|
||||||
pkg_remove(){ ifSudo zypper --non-interactive -q remove --clean-deps "$@"; }
|
pkg_remove(){ ifSudo zypper --non-interactive remove --clean-deps "$@"; }
|
||||||
pkg_update(){ ifSudo zypper --non-interactive -q refresh jriver; }
|
pkg_update(){ ifSudo zypper --non-interactive -q refresh jriver; }
|
||||||
pkg_query(){ ifSudo rpm -q "$@"; }
|
pkg_query(){ ifSudo rpm -q "$@"; }
|
||||||
firewall_cmd(){ ifSudo firewall-cmd "$@"; }
|
firewall_cmd(){ ifSudo firewall-cmd "$@"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user