]> git.saurik.com Git - apt.git/commitdiff
cmdline/apt-key: use --output instead of the the pipe and import, thanks to mdeslaur...
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 5 Oct 2011 18:52:42 +0000 (20:52 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 5 Oct 2011 18:52:42 +0000 (20:52 +0200)
cmdline/apt-key

index cd7824df1c122585ce97ee56622e28da4ae43942..c522d54feb484a0236953cf8cb699b1166d9db9f 100755 (executable)
@@ -63,7 +63,7 @@ add_keys_with_verify_against_master_keyring() {
 
         # export the add keyring one-by-one
         rm -f $TMP_KEYRING
-        $GPG_CMD --keyring $ADD_KEYRING --export $add_key | $GPG_CMD --keyring $TMP_KEYRING --import --trust-model direct
+        $GPG_CMD --keyring $ADD_KEYRING --export $add_key --output $TMP_KEYRING
 
         # check if signed with the master key and only add in this case
         ADDED=0