Braces
This commit is contained in:
parent
3d1e580c45
commit
cbd3ab2c91
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue