Browse Source

brainlet handling

tags/v3.1
Luke Smith 5 years ago
parent
commit
977b03349a
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mw

+ 1
- 0
mw View File

@@ -7,6 +7,7 @@ creddir="$HOME/.local/share/muttwizard" # Location of encrypted credentials
bindir="$HOME/.config/mutt/bin" # Location of scripts run by mutt or the wizard
namere="^[a-z_][a-z0-9_-]*$" # Regex to ensure viable username
emailre=".\+@.\+\\..\+" # Regex to confirm valid email address
[ ! -f "$muttdir/domains.csv" ] || [ ! -d "$bindir" ] && printf "Read the README. Be sure to put the repo in the right place before running.\\n" && exit 1
gpgemail="$(cat "$creddir/gpgemail" 2>/dev/null)" # Get previously set gpg email address
tmpdir="$(mktemp -d)"
GPG="gpg"; command -v gpg >/dev/null || GPG="gpg2" # Ensure proper gpg command


Loading…
Cancel
Save