[MODIFIED] Establecer 'otros' como tipo de proyecto predeterminado
This commit is contained in:
parent
7b6e7bf018
commit
f97c580d90
1 changed files with 6 additions and 1 deletions
|
@ -160,7 +160,12 @@ function request_project_type() {
|
||||||
# Construir las opciones para el diálogo
|
# Construir las opciones para el diálogo
|
||||||
OPTIONS=""
|
OPTIONS=""
|
||||||
for i in "${!VALID_TYPES[@]}"; do
|
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
|
done
|
||||||
|
|
||||||
dialog_input_radio "${proj_008}" "${proj_009}" "$OPTIONS"
|
dialog_input_radio "${proj_008}" "${proj_009}" "$OPTIONS"
|
||||||
|
|
Loading…
Reference in a new issue