Update uninstall-tools.sh

This commit is contained in:
MacRimi 2025-06-29 17:59:45 +02:00
parent 02baeba8b9
commit 71c31b182a

View File

@ -47,6 +47,9 @@ migrate_installed_tools() {
if [[ -f "$TOOLS_JSON" ]]; then if [[ -f "$TOOLS_JSON" ]]; then
return return
fi fi
clear
show_proxmenux_logo
msg_info "$(translate 'Detecting previous adjustments...')"
echo "{}" > "$TOOLS_JSON" echo "{}" > "$TOOLS_JSON"
local updated=false local updated=false
@ -69,10 +72,11 @@ migrate_installed_tools() {
updated=true updated=true
fi fi
if [[ "$updated" == true ]]; then if [[ "$updated" == true ]]; then
echo "Previous settings detected and migrated to $TOOLS_JSON" sleep 2
else msg_ok "$(translate 'Adjustments detected and ready to revert.')"
echo "No previous settings detected; nothing to migrate." sleep 1
fi fi
} }