Browse Source

Braces

stockholm
Bob Mottram 5 years ago
parent
commit
cbd3ab2c91
  1. 8
      src/freedombone-addremove

8
src/freedombone-addremove

@ -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…
Cancel
Save