mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-07-03 06:26:52 +00:00
Update uninstall-tools.sh
This commit is contained in:
parent
02baeba8b9
commit
71c31b182a
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user