From f2637aad46103fa31a5996ecdc0e1f2e5065de26 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Fri, 6 Jun 2025 17:24:56 +0200 Subject: [PATCH] Update menu --- menu | 4 +++- scripts/customizable_post_install.sh | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/menu b/menu index ccf1b7b..a94774c 100644 --- a/menu +++ b/menu @@ -49,9 +49,11 @@ fi # Initialize language configuration initialize_config() { - show_proxmenux_logo + # Check if config file exists and has language field if [ ! -f "$CONFIG_FILE" ] || [ -z "$(jq -r '.language // empty' "$CONFIG_FILE")" ]; then + show_proxmenux_logo + sleep 2 LANGUAGE=$(whiptail --title "$(translate "Select Language")" --menu "$(translate "Choose a language for the menu:")" 20 60 12 \ "en" "$(translate "English (Recommended)")" \ "es" "$(translate "Spanish")" \ diff --git a/scripts/customizable_post_install.sh b/scripts/customizable_post_install.sh index 0b2114a..e02761d 100644 --- a/scripts/customizable_post_install.sh +++ b/scripts/customizable_post_install.sh @@ -735,7 +735,6 @@ packages_list=( progress=$((i * 10)) tput cup $((row + 3)) 9 printf "[%-50s] %3d%%" "$(printf "#%.0s" $(seq 1 $((progress/2))))" "$progress" - sleep 0.2 done /usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' install "$package" > /dev/null 2>&1