projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
848ecfa
)
cmdline/apt-key: import from the correct keyring (ADD_KEYRING) in add_keys_with_verif...
author
Michael Vogt
<michael.vogt@ubuntu.com>
Wed, 13 Feb 2008 10:15:54 +0000
(11:15 +0100)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Wed, 13 Feb 2008 10:15:54 +0000
(11:15 +0100)
cmdline/apt-key
patch
|
blob
|
blame
|
history
diff --git
a/cmdline/apt-key
b/cmdline/apt-key
index 5791f33c02e0de04c4684f94579b7a0b195d852e..bbf3a7697d0ccedf11104382a32a6debdb44f71f 100755
(executable)
--- 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
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 $A
RCHIVE
_KEYRING --export $add_key | $GPG --import
+ $GPG_CMD --quiet --batch --keyring $A
DD
_KEYRING --export $add_key | $GPG --import
ADDED=1
fi
done
ADDED=1
fi
done