Debugging echoes

This commit is contained in:
Bob Mottram 2016-10-15 11:24:41 +01:00
parent ef471e69c8
commit dd6b3b5d94
1 changed files with 6 additions and 1 deletions

View File

@ -390,15 +390,20 @@ function install_apps {
app_index=0
for a in "${APPS_AVAILABLE[@]}"
do
echo -n "${a}"
if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
echo -n $" not installed"
if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then
echo -n $" chosen"
# interactively obtain settings for this app
if [[ $(function_exists install_interactive_${a}) == "1" ]]; then
echo $"Interactive settings for ${a}"
echo -n $" interactive"
install_interactive_${a}
fi
fi
fi
echo ""
app_index=$[app_index+1]
done
echo $"Interactive settings complete"