This commit is contained in:
Bob Mottram 2016-09-30 19:52:02 +01:00
parent 3d1e580c45
commit cbd3ab2c91
1 changed files with 4 additions and 4 deletions

View File

@ -95,9 +95,9 @@ function remove_apps_interactive {
if [[ ${APPS_INSTALLED[$app_index]} == "1" ]]; then
if [[ ${APPS_CHOSEN[$app_index]} == "0" ]]; then
if [ ${n} -gt 0 ]; then
removals="$removals $APPS_AVAILABLE[$app_index]"
removals="$removals ${APPS_AVAILABLE[$app_index]}"
else
removals="$APPS_AVAILABLE[$app_index]"
removals="${APPS_AVAILABLE[$app_index]}"
fi
n=$[n+1]
fi
@ -136,9 +136,9 @@ function install_apps_interactive {
if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then
if [ ${n} -gt 0 ]; then
installs="$installs $APPS_AVAILABLE[$app_index]"
installs="$installs ${APPS_AVAILABLE[$app_index]}"
else
installs="$APPS_AVAILABLE[$app_index]"
installs="${APPS_AVAILABLE[$app_index]}"
fi
n=$[n+1]
fi