From 04a8d1205d87c085ff6349d7e7824c5571282dba Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 5 Oct 2011 21:51:07 +0200 Subject: cmdline/apt-key: use MASTER instead of MASTER_KEYRING as the former is the argument of the function --- cmdline/apt-key | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdline/apt-key') diff --git a/cmdline/apt-key b/cmdline/apt-key index 9c7804d5b..7bfe47fca 100755 --- a/cmdline/apt-key +++ b/cmdline/apt-key @@ -67,7 +67,7 @@ add_keys_with_verify_against_master_keyring() { # check if signed with the master key and only add in this case ADDED=0 for master_key in $master_keys; do - if $GPG_CMD --keyring $MASTER_KEYRING --keyring $TMP_KEYRING --check-sigs --with-colons $add_key | grep '^sig:!:' | cut -d: -f5 | grep -q $master_key; then + if $GPG_CMD --keyring $MASTER --keyring $TMP_KEYRING --check-sigs --with-colons $add_key | grep '^sig:!:' | cut -d: -f5 | grep -q $master_key; then $GPG --import $TMP_KEYRING ADDED=1 fi -- cgit v1.2.3