index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eric Renfro via pacman-dev <pacman-dev@archlinux.org> | 2018-02-27 08:27:49 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-03-14 17:45:08 +1000 |
commit | 0565cebfc387be67e0daac73a4d0a312965ca1d3 (patch) | |
tree | 98eebd1248709ea57d68122209e11a84b1bfaedb | |
parent | 3e619ccffe585ddf19b1faa053ff46654d2b8a48 (diff) |
-rw-r--r-- | scripts/pacman-key.sh.in | 6 |
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in index d6bc6be3..060d8369 100644 --- a/scripts/pacman-key.sh.in +++ b/scripts/pacman-key.sh.in @@ -210,6 +210,12 @@ initialize() { add_gpg_conf_option "$conffile" 'lock-never' add_gpg_conf_option "$conffile" 'keyserver-options' 'timeout=10' + # gpg-agent.conf + agent_conffile="${PACMAN_KEYRING_DIR}/gpg-agent.conf" + [[ -f $agent_conffile ]] || touch "$agent_conffile" + chmod 644 "$agent_conffile" + add_gpg_conf_option "$agent_conffile" 'disable-scdaemon' + # set up a private signing key (if none available) if [[ $(secret_keys_available) -lt 1 ]]; then generate_master_key |