[pacman-dev] [PATCH 3/4] pacman-key: reduce verbosity of --populate
Pierre Schmitz
pierre at archlinux.de
Sun Mar 25 11:00:43 EDT 2012
Am 25.03.2012 15:25, schrieb Allan McRae:
> On 25/03/12 22:10, Pierre Schmitz wrote:
>> Do not bother the user with gpg's verbose output.
>>
>> Signed-off-by: Pierre Schmitz <pierre at archlinux.de>
>> ---
>> scripts/pacman-key.sh.in | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
>> index 46773ac..4c02d7d 100644
>> --- a/scripts/pacman-key.sh.in
>> +++ b/scripts/pacman-key.sh.in
>> @@ -250,7 +250,7 @@ populate_keyring() {
>> # Add keys from requested keyrings
>> for keyring in "${KEYRINGIDS[@]}"; do
>> msg "$(gettext "Appending keys from %s.gpg...")" "$keyring"
>> - "${GPG_PACMAN[@]}" --import "${KEYRING_IMPORT_DIR}/${keyring}.gpg"
>> + "${GPG_PACMAN[@]}" --import "${KEYRING_IMPORT_DIR}/${keyring}.gpg" 2>/dev/null
>
> Is the output on stderr? I am reluctant to remove real error output.
There shouldn't be much critical output here. But gpg also accepts the
--quiet flag here which still outputs useless data but much less.
--
Pierre Schmitz, https://pierre-schmitz.com
More information about the pacman-dev
mailing list