Quellcode durchsuchen

Add directory check

Didn't catch that important step, would be neat if the script warned you.
pull/9/head
f3rn0s vor 6 Jahren
committed by GitHub
Ursprung
Commit
ded839fbca
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. +6
    -0
      mutt-wizard.sh

+ 6
- 0
mutt-wizard.sh Datei anzeigen

@@ -2,6 +2,12 @@

muttdir="$HOME/.config/mutt/"

if [ $muttdir == "$(pwd)" ]
then
echo "The contents of this repository should be placed inside .config/mutt"
pause
fi

changePassword() { \
gpgemail=$( dialog --title "Luke's mutt/offlineIMAP password wizard" --inputbox "Insert the email address with which you originally created your GPG key pair. This is NOT necessarily the email you want to configure." 10 60 3>&1 1>&2 2>&3 3>&- )
dialog --title "Luke's mutt/offlineIMAP password wizard" --passwordbox "Enter the new password for the \"$1\" account." 10 60 2> /tmp/$1


Laden…
Abbrechen
Speichern