From e211ad5c5d8047cde25c2af9fe0859f4e628aef8 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 22 Apr 2025 16:39:03 -0400 Subject: [PATCH] Print advice last --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 897e73a..82e9001 100755 --- a/installJRMC +++ b/installJRMC @@ -1569,14 +1569,13 @@ uninstall() { echo "Uninstalling JRiver Media Center package" 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 err "JRiver Media Center package '${MC_PKG%%=*}' is not present and was not uninstalled" else err "Could not remove Media Center package" fi - echo "Uninstalling JRiver Media Center GPG keys" + echo "Uninstalling JRiver Media Center GPG key" local keyfile="/usr/share/keyrings/jriver-com-archive-keyring.gpg" [[ -f $keyfile ]] && execute sudo rm -f "$keyfile" @@ -1588,6 +1587,7 @@ uninstall() { mv "$SCRIPT_DIR/.uninstall" "$SCRIPT_DIR/.uninstall.bk" fi + echo "To remove your MC library: rm -rf $HOME/.jriver" return 0 }