Browse Source

Remove JRiver GPG key in uninstall()

bryan 5 days ago
parent
commit
60ade196c5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      installJRMC

+ 4 - 0
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