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