From f97c580d904d3fbef6cbe59a3f55c7d97342ecac Mon Sep 17 00:00:00 2001 From: "Mauro Rosero P." Date: Wed, 12 Mar 2025 18:24:29 -0500 Subject: [PATCH] [MODIFIED] Establecer 'otros' como tipo de proyecto predeterminado --- bin/project_create.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/project_create.sh b/bin/project_create.sh index bd9af8b..f5a34c3 100755 --- a/bin/project_create.sh +++ b/bin/project_create.sh @@ -160,7 +160,12 @@ function request_project_type() { # Construir las opciones para el diálogo OPTIONS="" for i in "${!VALID_TYPES[@]}"; do - OPTIONS="$OPTIONS ${VALID_TYPES[$i]} ${VALID_TYPES[$i]} off" + if [ "${VALID_TYPES[$i]}" == "otros" ]; then + # Seleccionar "otros" como opción por defecto + OPTIONS="$OPTIONS ${VALID_TYPES[$i]} ${VALID_TYPES[$i]} on" + else + OPTIONS="$OPTIONS ${VALID_TYPES[$i]} ${VALID_TYPES[$i]} off" + fi done dialog_input_radio "${proj_008}" "${proj_009}" "$OPTIONS"