diff --git a/Scripts/Bash/Cli/Functions/Prepare/prepare_doEnvironment.sh b/Scripts/Bash/Cli/Functions/Prepare/prepare_doEnvironment.sh index 58dc3b3..222b4fb 100755 --- a/Scripts/Bash/Cli/Functions/Prepare/prepare_doEnvironment.sh +++ b/Scripts/Bash/Cli/Functions/Prepare/prepare_doEnvironment.sh @@ -27,13 +27,19 @@ function prepare_doEnvironment { # Verify `--packages' option. - if [[ $FLAG_PACKAGES == 'false' ]];then + if [[ $FLAG_ENVIRONMENT == 'false' ]];then return fi # Print line separator. cli_printMessage '-' 'AsSeparatorLine' + # Print action message. + cli_printMessage "`gettext "Checking environment variables"`" 'AsResponseLine' + + # Print line separator. + cli_printMessage '-' 'AsSeparatorLine' + local -a VARS local -a INFO local COUNT=0 @@ -53,12 +59,6 @@ function prepare_doEnvironment { INFO[3]="`gettext "Default directory used to retrive translated messages"`" INFO[4]="`gettext "Default locale information"`" - # Print action message. - cli_printMessage "`gettext "Environment variables"`" 'AsCheckingLine' - - # Print line separator. - cli_printMessage '-' 'AsSeparatorLine' - until [[ $COUNT -eq ${#VARS[*]} ]];do # Let user to reduce output using regular expression as