diff --git a/src/freedombone-addremove b/src/freedombone-addremove index 4640f552873efbdb0f3e4a19649424a900c455ea..053e3772732d635d2eaf72b93ee21c411803c933 100755 --- a/src/freedombone-addremove +++ b/src/freedombone-addremove @@ -204,10 +204,17 @@ function install_apps_selected { if [[ "$select_all_apps" != "add-all" ]]; then # ask for confirmation - dialog --title $"Add applications" \ - --backtitle $"Freedombone" \ - --defaultno \ - --yesno $"\nYou have chosen to install $n apps.\n\n $installs\n\nIf you choose 'yes' then these will now be installed.\n\nAre you sure that you wish to continue?" 15 60 + if [ $n -eq 1 ]; then + 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?" 15 60 + else + 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 + fi sel=$? case $sel in 1) return;;