From cf63b9e489d7efe5095bca12ed1699a2fd15ae42 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 6 Jan 2022 15:57:42 -0500 Subject: [PATCH] Fix uninstall error on SUSE --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 951a1a6..ea56a86 100755 --- a/installJRMC +++ b/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 "$@"; }