Browse Source

Merge pull request #50 from tokudan/dialog

Provide a sane error message in case dialog is not installed
tags/v3.1
Luke Smith 6 years ago
committed by GitHub
parent
commit
7cacadd447
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mutt-wizard.sh

+ 1
- 0
mutt-wizard.sh View File

@@ -257,5 +257,6 @@ $(grep ~/.offlineimaprc -e "^accounts =" | sed 's/accounts =//g')
5) inventory && for i in $userchoices; do removeAccount $i ; done;; 5) inventory && for i in $userchoices; do removeAccount $i ; done;;
6) (dialog --defaultno --title "Wipe all custom neomutt/offlineIMAP settings?" --yesno "Would you like to wipe all of the mutt/offlineIMAP settings generated by the system?" 6 60 && wipe) ;; 6) (dialog --defaultno --title "Wipe all custom neomutt/offlineIMAP settings?" --yesno "Would you like to wipe all of the mutt/offlineIMAP settings generated by the system?" 6 60 && wipe) ;;
7) clear && break ;; 7) clear && break ;;
*) echo "Unable to read response from dialog. Exiting." >&2; exit 2
esac esac
done done

Loading…
Cancel
Save