From: Michael Vogt Date: Wed, 5 Oct 2011 18:52:42 +0000 (+0200) Subject: cmdline/apt-key: use --output instead of the the pipe and import, thanks to mdeslaur... X-Git-Tag: 0.9.13.exp1ubuntu1~125^2~2^2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/27c251b98640130c7d9a3dae6fd66a8a4a22b6d5?ds=inline cmdline/apt-key: use --output instead of the the pipe and import, thanks to mdeslaur and infinity for the code review --- diff --git a/cmdline/apt-key b/cmdline/apt-key index cd7824df1..c522d54fe 100755 --- a/cmdline/apt-key +++ b/cmdline/apt-key @@ -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