mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-02 08:06:17 +00:00
Update install_proxmenux.sh
This commit is contained in:
@@ -101,7 +101,7 @@ check_existing_installation() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
uninstall_proxmenu() {
|
uninstall_proxmenux() {
|
||||||
local install_type="$1"
|
local install_type="$1"
|
||||||
local force_clean="$2"
|
local force_clean="$2"
|
||||||
|
|
||||||
@@ -168,7 +168,7 @@ handle_installation_change() {
|
|||||||
if whiptail --title "Installation Type Change" \
|
if whiptail --title "Installation Type Change" \
|
||||||
--yesno "Switch from Translation to Normal Version?\n\nThis will remove translation components." 10 60; then
|
--yesno "Switch from Translation to Normal Version?\n\nThis will remove translation components." 10 60; then
|
||||||
echo "Preparing for installation type change..."
|
echo "Preparing for installation type change..."
|
||||||
uninstall_proxmenu "translation" "force" >/dev/null 2>&1
|
uninstall_proxmenux "translation" "force" >/dev/null 2>&1
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
|
Reference in New Issue
Block a user