summaryrefslogtreecommitdiff
path: root/cmdline/apt-key
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-10-04 09:22:43 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-10-04 09:22:43 +0200
commit00b19b328c738954169c165aa6f734ade6962fa5 (patch)
tree009a8b7802211f739c92d7df35a3f1e1cb7ac7c5 /cmdline/apt-key
parent7e6201fc0304bc1122bdef5884b741c42d097998 (diff)
cmdline/apt-key: use --verify-sigs instead of --list-sigs
Diffstat (limited to 'cmdline/apt-key')
-rwxr-xr-xcmdline/apt-key2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-key b/cmdline/apt-key
index 8a3f5ba54..104ca656b 100755
--- a/cmdline/apt-key
+++ b/cmdline/apt-key
@@ -64,7 +64,7 @@ add_keys_with_verify_against_master_keyring() {
for add_key in $add_keys; do
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
+ if $GPG_CMD --keyring $ADD_KEYRING --verify-sigs --with-colons $add_key | grep ^sig | cut -d: -f5 | grep -q $master_key; then
$GPG_CMD --quiet --batch --keyring $ADD_KEYRING --export $add_key | $GPG --import
ADDED=1
fi