mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-26 06:11:15 +00:00
Update main_menu.sh
This commit is contained in:
@@ -17,6 +17,12 @@ UTILS_FILE="$BASE_DIR/utils.sh"
|
|||||||
VENV_PATH="/opt/googletrans-env"
|
VENV_PATH="/opt/googletrans-env"
|
||||||
|
|
||||||
|
|
||||||
|
if ! command -v dialog &>/dev/null; then
|
||||||
|
apt update -qq >/dev/null 2>&1
|
||||||
|
apt install -y dialog >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
check_pve9_translation_compatibility() {
|
check_pve9_translation_compatibility() {
|
||||||
local pve_version
|
local pve_version
|
||||||
|
|
||||||
@@ -63,10 +69,6 @@ if [[ -f "$UTILS_FILE" ]]; then
|
|||||||
source "$UTILS_FILE"
|
source "$UTILS_FILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! command -v dialog &>/dev/null; then
|
|
||||||
apt update -qq >/dev/null 2>&1
|
|
||||||
apt install -y dialog >/dev/null 2>&1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$PROXMENUX_PVE9_WARNING_SHOWN" = "1" ]]; then
|
if [[ "$PROXMENUX_PVE9_WARNING_SHOWN" = "1" ]]; then
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user