More concise install dialog
This commit is contained in:
parent
390c4c9507
commit
9386da0cc9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue