Browse Source

Fix uninstall error on SUSE

bryan 3 years ago
parent
commit
cf63b9e489
1 changed files with 1 additions and 1 deletions
  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 "$@"; }