From 9386da0cc9274a03a40b335cde792386bc8763e4 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Mon, 8 May 2017 12:59:14 +0100
Subject: [PATCH] More concise install dialog

---
 src/freedombone-addremove | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/freedombone-addremove b/src/freedombone-addremove
index d6a0735a2..04b4b6587 100755
--- a/src/freedombone-addremove
+++ b/src/freedombone-addremove
@@ -208,12 +208,13 @@ function install_apps_selected {
             dialog --title $"$installs" \
                    --backtitle $"Freedombone" \
                    --defaultno \
-                   --yesno $"\nYou have chosen to install the $installs app.\n\nIf you select 'yes' then the install will go ahead.\n\nAre you sure that you wish to continue?" 11 60
+                   --yesno $"\nThis will install the $installs app.\n\nProceed?" 9 60
         else
+            dialog_height=$((15 + $n))
             dialog --title $"Add applications" \
                    --backtitle $"Freedombone" \
                    --defaultno \
-                   --yesno $"\nYou have chosen to install $n apps.\n\n    $installs\n\nIf you select 'yes' then these will now be installed.\n\nAre you sure that you wish to continue?" 15 60
+                   --yesno $"\nYou have chosen to install $n apps.\n\n    $installs\n\nProceed?" $dialog_height 60
         fi
         sel=$?
         case $sel in
-- 
GitLab