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:
@@ -106,12 +106,12 @@ uninstall_proxmenu() {
|
|||||||
local force_clean="$2"
|
local force_clean="$2"
|
||||||
|
|
||||||
if [ "$force_clean" != "force" ]; then
|
if [ "$force_clean" != "force" ]; then
|
||||||
if ! whiptail --title "Uninstall ProxMenu" --yesno "Are you sure you want to uninstall ProxMenu?" 10 60; then
|
if ! whiptail --title "Uninstall ProxMenux" --yesno "Are you sure you want to uninstall ProxMenux?" 10 60; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Uninstalling ProxMenu..."
|
echo "Uninstalling ProxMenux..."
|
||||||
|
|
||||||
if [ -f "$VENV_PATH/bin/activate" ]; then
|
if [ -f "$VENV_PATH/bin/activate" ]; then
|
||||||
echo "Removing googletrans and virtual environment..."
|
echo "Removing googletrans and virtual environment..."
|
||||||
@@ -221,7 +221,7 @@ show_progress() {
|
|||||||
local total="$2"
|
local total="$2"
|
||||||
local message="$3"
|
local message="$3"
|
||||||
|
|
||||||
echo -e "\n${BOLD}${BL}${TAB}Installing ProxMenu: Step $step of $total${CL}"
|
echo -e "\n${BOLD}${BL}${TAB}Installing ProxMenux: Step $step of $total${CL}"
|
||||||
echo
|
echo
|
||||||
msg_info2 "$message"
|
msg_info2 "$message"
|
||||||
}
|
}
|
||||||
@@ -599,4 +599,4 @@ if [ "$(id -u)" -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cleanup_corrupted_files
|
cleanup_corrupted_files
|
||||||
install_proxmenu
|
install_proxmenu
|
||||||
|
Reference in New Issue
Block a user