This commit is contained in:
Bob Mottram 2016-12-21 19:28:35 +00:00
parent 4fc45b542a
commit 2712e1cedd
2 changed files with 5 additions and 2 deletions

View File

@ -543,7 +543,7 @@ function install_apps {
app_index=0
for a in "${APPS_AVAILABLE[@]}"
do
#if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then
if [ ${is_interactive} ]; then
# clears any removal indicator
@ -621,7 +621,7 @@ function install_apps {
fi
fi
fi
#fi
fi
app_index=$[app_index+1]
done

View File

@ -852,6 +852,9 @@ function upgrade_apps {
if [[ $? != 0 ]]; then
function_check app_is_installed
if [[ "$(app_is_installed $a)" == "1" ]]; then
echo ''
echo ''
echo $"Upgrading $a"
app_load_variables ${app_name}
APPS_COMPLETED+=("${app_name}")
function_check upgrade_${app_name}