Parcourir la source

changed GPG parameters from -q to --quiet

under Qubes OS the use of qubes-gpg-client (instead of gpg) will not work with the -q option, but with the --quiet option.
As such using the full parameter names will not harm to all "normal" users, but make the script more stable for other users.
Additionaly it makes the scripts more readable for beginners to understand what the script is doing.
tags/v3.1
praschdorff il y a 6 ans
committed by GitHub
Parent
révision
f91aaf0cdb
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      credentials/getmuttpass

+ 1
- 1
credentials/getmuttpass Voir le fichier

@@ -1,4 +1,4 @@
#!/bin/bash
pass=$(gpg2 -d -q ~/.config/mutt/credentials/$1.gpg)
pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\"

Chargement…
Annuler
Enregistrer