Explorar el Código

Also remove /usr/lib/jriver

bryan hace 4 días
padre
commit
8de1608a77
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      installJRMC

+ 6 - 0
installJRMC

@@ -1631,6 +1631,12 @@ uninstall() {
     fi
   fi
 
+  if [[ -d $MC_ROOT ]]; then
+    if ask_ok "Remove MC installation directory $MC_ROOT?"; then
+      execute sudo rm -rf "$MC_ROOT"
+    fi
+  fi
+
   if [[ -d $HOME/.jriver ]]; then
     if ask_ok "Backup and reset your MC library?"; then
       execute mv "$HOME/.jriver" "$HOME/.jriver.bk"