summaryrefslogtreecommitdiff
path: root/cmdline/apt-key
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-03-21 17:58:58 +0100
committerJulian Andres Klode <jak@debian.org>2010-03-21 17:58:58 +0100
commit6520109c98500cc1ca6d6b581cc0980531ef8f83 (patch)
tree79b65c874206785e78defc9cf504ccb7f623a745 /cmdline/apt-key
parent8f5525e96777133e18772e398a2bb22ffc497d44 (diff)
* cmdline/apt-key:
- Honor Apt::GPGV::TrustedKeyring (Closes: #316390)
Diffstat (limited to 'cmdline/apt-key')
-rwxr-xr-xcmdline/apt-key1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt-key b/cmdline/apt-key
index e45468fd4..27731ef7d 100755
--- a/cmdline/apt-key
+++ b/cmdline/apt-key
@@ -146,6 +146,7 @@ if [ "$1" = "--keyring" ]; then
else
#echo "generate list"
TRUSTEDFILE="/etc/apt/trusted.gpg"
+ eval $(apt-config shell TRUSTEDFILE Apt::GPGV::TrustedKeyring)
if [ -r "$TRUSTEDFILE" ]; then
GPG="$GPG --keyring $TRUSTEDFILE"
fi