Ver código fonte

check of gpgemail validity

tags/v3.1
Luke Smith 5 anos atrás
pai
commit
12035bf1d6
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4C50B54A911F6252
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      mw

+ 1
- 1
mw Ver arquivo

@@ -8,7 +8,7 @@ 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
gpgemail="$(grep "$emailre" "$creddir/gpgemail")" # Get previously set gpg email address
tmpdir="$(mktemp -d)"
GPG="gpg"; command -v gpg >/dev/null || GPG="gpg2" # Ensure proper gpg command



Carregando…
Cancelar
Salvar