Kaynağa Gözat

vim app off by default

Bob Mottram 8 yıl önce
ebeveyn
işleme
d067de37d9
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5
    1
      src/freedombone-addremove

+ 5
- 1
src/freedombone-addremove Dosyayı Görüntüle

65
         if [[ ${APPS_INSTALLED[$app_index]} == "0" &&  "$select_all_apps" != "add-all" ]]; then
65
         if [[ ${APPS_INSTALLED[$app_index]} == "0" &&  "$select_all_apps" != "add-all" ]]; then
66
             applist="$applist $n $a off"
66
             applist="$applist $n $a off"
67
         else
67
         else
68
-            applist="$applist $n $a on"
68
+            if [[ "$a" == "vim" && "$select_all_apps" == "add-all" ]]; then
69
+                applist="$applist $n $a off"
70
+            else
71
+                applist="$applist $n $a on"
72
+            fi
69
         fi
73
         fi
70
         n=$[n+1]
74
         n=$[n+1]
71
         app_index=$[app_index+1]
75
         app_index=$[app_index+1]