mutt-wizard

fork of Luke Smiths mutt-wizard
git clone git://git.jakekoroman.com/mutt-wizard
Log | Files | Refs | README | LICENSE

commit 7cacadd4475978a168c3740ce785742571cc1011
parent 2f49576291484a78f3ac98b163d7989d09bb2a1f
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Thu, 12 Apr 2018 15:21:07 -0700

Merge pull request #50 from tokudan/dialog

Provide a sane error message in case dialog is not installed
Diffstat:
Mmutt-wizard.sh | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/mutt-wizard.sh b/mutt-wizard.sh @@ -257,5 +257,6 @@ $(grep ~/.offlineimaprc -e "^accounts =" | sed 's/accounts =//g') 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) ;; 7) clear && break ;; +*) echo "Unable to read response from dialog. Exiting." >&2; exit 2 esac done