Fix adding rejected -init answers to the final string injected into conf.yml.

This commit is contained in:
purple 2023-09-06 17:30:34 +02:00
parent 0c8be71f95
commit 1fe19cfd0e

View file

@ -858,6 +858,7 @@ if [[ $2 == "-init" ]]; then VCMD="y"
if [[ $REDO_NAME == true ]]; then if [[ $REDO_NAME == true ]]; then
# Ask again if response does not pass validation. # Ask again if response does not pass validation.
ask_name=""
ask_name ask_name
fi fi
} }
@ -884,6 +885,7 @@ if [[ $2 == "-init" ]]; then VCMD="y"
if [[ $REDO_IDENTIFIER == true ]]; then if [[ $REDO_IDENTIFIER == true ]]; then
# Ask again if response does not pass validation. # Ask again if response does not pass validation.
ask_identifier=""
ask_identifier ask_identifier
fi fi
} }
@ -902,6 +904,7 @@ if [[ $2 == "-init" ]]; then VCMD="y"
if [[ $REDO_DESCRIPTION == true ]]; then if [[ $REDO_DESCRIPTION == true ]]; then
# Ask again if response does not pass validation. # Ask again if response does not pass validation.
ask_description=""
ask_description ask_description
fi fi
} }
@ -920,6 +923,7 @@ if [[ $2 == "-init" ]]; then VCMD="y"
if [[ $REDO_VERSION == true ]]; then if [[ $REDO_VERSION == true ]]; then
# Ask again if response does not pass validation. # Ask again if response does not pass validation.
ask_version=""
ask_version ask_version
fi fi
} }
@ -938,6 +942,7 @@ if [[ $2 == "-init" ]]; then VCMD="y"
if [[ $REDO_AUTHOR == true ]]; then if [[ $REDO_AUTHOR == true ]]; then
# Ask again if response does not pass validation. # Ask again if response does not pass validation.
ask_author=""
ask_author ask_author
fi fi
} }