Explorar o código

Fix uninstall error on SUSE

bryan %!s(int64=3) %!d(string=hai) anos
pai
achega
cf63b9e489
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -143,7 +143,7 @@ init() {
         firewall_cmd(){ ifSudo ufw "$@"; }
     elif [[ "$ID" =~ ^opensuse.* ]]; then
         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_query(){ ifSudo rpm -q "$@"; }
         firewall_cmd(){ ifSudo firewall-cmd "$@"; }