mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 03:26:17 +00:00
Update menu
This commit is contained in:
12
menu
12
menu
@@ -72,10 +72,13 @@ check_updates() {
|
|||||||
|
|
||||||
msg_warn "$(translate 'Starting ProxMenux update...')"
|
msg_warn "$(translate 'Starting ProxMenux update...')"
|
||||||
|
|
||||||
if [[ -x "$INSTALL_SCRIPT" ]]; then
|
if curl -fsSL "$INSTALL_URL" -o "$INSTALL_SCRIPT"; then
|
||||||
"$INSTALL_SCRIPT" --update
|
chmod +x "$INSTALL_SCRIPT"
|
||||||
|
|
||||||
exec menu
|
bash "$INSTALL_SCRIPT" --update
|
||||||
|
|
||||||
|
#exec menu
|
||||||
|
exit 0
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -84,9 +87,6 @@ check_updates() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
main_menu() {
|
main_menu() {
|
||||||
local MAIN_MENU="$LOCAL_SCRIPTS/menus/main_menu.sh"
|
local MAIN_MENU="$LOCAL_SCRIPTS/menus/main_menu.sh"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user