Update build.func

This commit is contained in:
CanbiZ 2025-09-17 16:17:11 +02:00
parent 322fd681cb
commit 95171c5025

View File

@ -1520,7 +1520,7 @@ install_script() {
header_info header_info
# --- Support CLI argument as direct preset (default, advanced, …) --- # --- Support CLI argument as direct preset (default, advanced, …) ---
CHOICE="${1:-}" CHOICE="${mode:-${1:-}}"
# If no CLI argument → show whiptail menu # If no CLI argument → show whiptail menu
if [ -z "$CHOICE" ]; then if [ -z "$CHOICE" ]; then