mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-25 00:46:21 +00:00
Update menu
This commit is contained in:
2
menu
2
menu
@@ -80,6 +80,7 @@ check_updates_stable() {
|
|||||||
if curl -fsSL "$INSTALL_URL" -o "$INSTALL_SCRIPT"; then
|
if curl -fsSL "$INSTALL_URL" -o "$INSTALL_SCRIPT"; then
|
||||||
chmod +x "$INSTALL_SCRIPT"
|
chmod +x "$INSTALL_SCRIPT"
|
||||||
bash "$INSTALL_SCRIPT" --update
|
bash "$INSTALL_SCRIPT" --update
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -111,6 +112,7 @@ check_updates_beta() {
|
|||||||
if curl -fsSL "$REPO_DEVELOP/install_proxmenux_beta.sh" -o "$INSTALL_BETA_SCRIPT"; then
|
if curl -fsSL "$REPO_DEVELOP/install_proxmenux_beta.sh" -o "$INSTALL_BETA_SCRIPT"; then
|
||||||
chmod +x "$INSTALL_BETA_SCRIPT"
|
chmod +x "$INSTALL_BETA_SCRIPT"
|
||||||
bash "$INSTALL_BETA_SCRIPT" --update
|
bash "$INSTALL_BETA_SCRIPT" --update
|
||||||
|
return 0
|
||||||
else
|
else
|
||||||
msg_error "Could not download the beta installer from the develop branch."
|
msg_error "Could not download the beta installer from the develop branch."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user