mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-01 10:22:08 +00:00
Remove the whole installation directory on uninstall and name the release channel in Spanish
- Uninstall removes the installation directory again after the change journal writes to it - Show version information counts jq installed from GitHub as installed - Spanish calls the release channel «canal de versiones»
This commit is contained in:
@@ -744,7 +744,7 @@ show_version_info() {
|
||||
fi
|
||||
local translated_status=$(translate "$status")
|
||||
case "$status" in
|
||||
"installed"|"already_installed"|"created"|"already_exists"|"upgraded"|"updated")
|
||||
"installed"|"already_installed"|"installed_from_github"|"created"|"already_exists"|"upgraded"|"updated")
|
||||
info_message+="✓ $component: $translated_status\n"
|
||||
;;
|
||||
*)
|
||||
@@ -851,6 +851,9 @@ uninstall_proxmenu() {
|
||||
else
|
||||
pmx_edit_file /etc/motd '/This system is optimised by: ProxMenux/d'
|
||||
fi
|
||||
|
||||
# The change journal above writes under BASE_DIR again.
|
||||
rm -rf "$BASE_DIR"
|
||||
|
||||
echo "100" ; echo "Uninstallation complete!"
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user