Skip to content
Snippets Groups Projects
Commit 9386da0c authored by Bob Mottram's avatar Bob Mottram
Browse files

More concise install dialog

parent 390c4c95
No related branches found
No related tags found
No related merge requests found
...@@ -208,12 +208,13 @@ function install_apps_selected { ...@@ -208,12 +208,13 @@ function install_apps_selected {
dialog --title $"$installs" \ dialog --title $"$installs" \
--backtitle $"Freedombone" \ --backtitle $"Freedombone" \
--defaultno \ --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 else
dialog_height=$((15 + $n))
dialog --title $"Add applications" \ dialog --title $"Add applications" \
--backtitle $"Freedombone" \ --backtitle $"Freedombone" \
--defaultno \ --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 fi
sel=$? sel=$?
case $sel in case $sel in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment