浏览代码

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 6 年前
committed by GitHub
父节点
当前提交
f91aaf0cdb
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      credentials/getmuttpass

+ 1
- 1
credentials/getmuttpass 查看文件

@@ -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\"

正在加载...
取消
保存