From d067de37d99b98923900abfc0a9d3ffd423ef1f5 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Wed, 19 Oct 2016 18:48:02 +0100
Subject: [PATCH] vim app off by default

---
 src/freedombone-addremove | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/freedombone-addremove b/src/freedombone-addremove
index ace930ad1..a71401ea6 100755
--- a/src/freedombone-addremove
+++ b/src/freedombone-addremove
@@ -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]
-- 
GitLab