From 413580f4ef1ebfff83ca6c1565de7b725bc1b5ef Mon Sep 17 00:00:00 2001 From: bryan Date: Mon, 4 Nov 2024 12:44:38 -0500 Subject: [PATCH] For uninstall() strip package version specifier --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 98f7976..7aa0af1 100755 --- a/installJRMC +++ b/installJRMC @@ -1505,7 +1505,7 @@ uninstall() { fi echo "Uninstalling JRiver Media Center package" - if "${PKG_REMOVE[@]}" "$MC_PKG"; then + if "${PKG_REMOVE[@]}" "${MC_PKG%%=*}"; then # remove version specifier echo "JRiver Media Center has been completely uninstalled" echo "To remove your MC library: rm -rf $HOME/.jriver" elif [[ $? -eq 100 ]]; then