vim app off by default

This commit is contained in:
Bob Mottram 2016-10-19 18:48:02 +01:00
parent f7a01e6e6f
commit d067de37d9
1 changed files with 5 additions and 1 deletions

View File

@ -65,7 +65,11 @@ function show_apps {
if [[ ${APPS_INSTALLED[$app_index]} == "0" && "$select_all_apps" != "add-all" ]]; then
applist="$applist $n $a off"
else
applist="$applist $n $a on"
if [[ "$a" == "vim" && "$select_all_apps" == "add-all" ]]; then
applist="$applist $n $a off"
else
applist="$applist $n $a on"
fi
fi
n=$[n+1]
app_index=$[app_index+1]