summaryrefslogtreecommitdiff
path: root/mutt-wizard.sh
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-02-12 17:42:54 -0700
committerLuke <luke@lukesmith.xyz>2018-02-12 17:42:54 -0700
commit9752b075f477d37958917020224d37f01276d69a (patch)
tree04a27fa9fc9b777f907b25bba7a66f3ca4e3cda1 /mutt-wizard.sh
parenta4d11754f3c329fa57c537259cca5186eeddb18a (diff)
retarded error fixed
Diffstat (limited to 'mutt-wizard.sh')
-rwxr-xr-xmutt-wizard.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt-wizard.sh b/mutt-wizard.sh
index 3ce8c27..08f7512 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
-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)
+ gpg -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/