diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-02-13 11:15:54 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-02-13 11:15:54 +0100 |
commit | 3916f941154e6b98f69730688efeb8df217ce44a (patch) | |
tree | 69ec60f1cdae54e27caffd5a7071c1d2e32d0b3c /cmdline/apt-key | |
parent | 848ecfa4e757ef635cdddcb86758847067441ce5 (diff) | |
download | apt-3916f941154e6b98f69730688efeb8df217ce44a.tar.gz |
cmdline/apt-key: import from the correct keyring (ADD_KEYRING) in add_keys_with_verify_against_master_keyring
Diffstat (limited to 'cmdline/apt-key')
-rwxr-xr-x | cmdline/apt-key | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-key b/cmdline/apt-key index 5791f33c0..bbf3a7697 100755 --- a/cmdline/apt-key +++ b/cmdline/apt-key @@ -41,7 +41,7 @@ add_keys_with_verify_against_master_keyring() { ADDED=0 for master_key in $master_keys; do if $GPG_CMD --keyring $ADD_KEYRING --list-sigs --with-colons $add_key | grep ^sig | cut -d: -f5 | grep -q $master_key; then - $GPG_CMD --quiet --batch --keyring $ARCHIVE_KEYRING --export $add_key | $GPG --import + $GPG_CMD --quiet --batch --keyring $ADD_KEYRING --export $add_key | $GPG --import ADDED=1 fi done |