diff options
author | Luke <luke@lukesmith.xyz> | 2018-02-12 09:57:31 -0700 |
---|---|---|
committer | Luke <luke@lukesmith.xyz> | 2018-02-12 09:57:31 -0700 |
commit | a4d11754f3c329fa57c537259cca5186eeddb18a (patch) | |
tree | f86aac590b3b411174dac97b47ea00baa44eb160 /mutt-wizard.sh | |
parent | b61b24185ac0b60bc4928dc16efdeb56b552475b (diff) |
documentation fix for gpg2 distros
Diffstat (limited to 'mutt-wizard.sh')
-rwxr-xr-x | mutt-wizard.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt-wizard.sh b/mutt-wizard.sh index 384efad..3ce8c27 100755 --- a/mutt-wizard.sh +++ b/mutt-wizard.sh @@ -88,7 +88,7 @@ addAccount \ addAccount() { # First, adding the encrypted password. dialog --title "Luke's mutt/offlineIMAP password wizard" --passwordbox "Enter the password for the \"$title\" account." 10 60 2> /tmp/$title - gpg -r $gpgemail --encrypt /tmp/$title +g pg -r $gpgemail --encrypt /tmp/$title || (dialog --title "GPG decryption failed." --msgbox "GPG decryption failed. This is either because you do not have a GPG key pair or because your distro uses GPG2 and you thus need to symlink /usr/bin/gpg to /usr/bin/gpg2." 7 60 && break) shred -u /tmp/$title mv /tmp/$title.gpg ~/.config/mutt/credentials/ |