From 60ade196c59f90016d700bf221e76a8f4bf147a2 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 22 Apr 2025 16:36:03 -0400 Subject: [PATCH] Remove JRiver GPG key in uninstall() --- installJRMC | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/installJRMC b/installJRMC index 64e11b0..897e73a 100755 --- a/installJRMC +++ b/installJRMC @@ -1576,6 +1576,10 @@ uninstall() { err "Could not remove Media Center package" fi + echo "Uninstalling JRiver Media Center GPG keys" + local keyfile="/usr/share/keyrings/jriver-com-archive-keyring.gpg" + [[ -f $keyfile ]] && execute sudo rm -f "$keyfile" + if [[ -f $SCRIPT_DIR/.uninstall ]]; then echo "Removing files from .uninstall log" while read -r p; do