diff options
Diffstat (limited to 'bin/pacman-make-keyring')
-rwxr-xr-x | bin/pacman-make-keyring | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/pacman-make-keyring b/bin/pacman-make-keyring index 702ea69..101f92c 100755 --- a/bin/pacman-make-keyring +++ b/bin/pacman-make-keyring @@ -24,6 +24,7 @@ endif bin := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) yamldir := $(shell ruby -e "load '$(bin)/common.rb'; print cfg['yamldir']") +keysdir := $(shell ruby -e "load '$(bin)/common.rb'; print cfg['keysdir']") cachedir := $(shell ruby -e "load '$(bin)/common.rb'; print cfg['keyring_cachedir']") outputdir = $(cachedir)/$(KEYRING_NAME)-keyring-$(V) @@ -138,6 +139,7 @@ keyid=$(keyid.$(patsubst %.asc,%,$(notdir $@))) $(outputdir)/${KEYRING_NAME}-trusted: ${users} | $(outputdir) $(bin)/pgp-list-keyids | sed -rn 's|^trusted/\S+ (\S+)|\1:4:|p' > $@ $(cachedir)/keys/trusted/%.asc : $(cachedir)/stamp.gpg-init | $(cachedir)/keys/trusted + TODO: "if exists ${keysdir}/${keyid}.asc ..." else "the original behavior below" ${GPG} --recv-keys ${keyid} &>/dev/null printf 'minimize\nquit\ny\n' | ${GPG} --command-fd 0 --edit-key ${keyid} printf 'y\ny\n' | ${GPG} --command-fd 0 --lsign-key ${keyid} &>/dev/null |