[pacman-dev] [PATCH 2/2] pacman-key: reduce verbosity of --populate
Pierre Schmitz
pierre at archlinux.de
Mon Jun 18 10:46:26 EDT 2012
Do not bother the user with gpg's verbose output.
Signed-off-by: Pierre Schmitz <pierre at archlinux.de>
---
scripts/pacman-key.sh.in | 4 ++--
1 Datei geändert, 2 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index e5b6021..df1ff9e 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -277,7 +277,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[@]}" --quiet --import "${KEYRING_IMPORT_DIR}/${keyring}.gpg"
done
# Read the trusted key IDs to an array. Because this is an ownertrust
@@ -307,7 +307,7 @@ populate_keyring() {
msg "$(gettext "Importing owner trust values...")"
for keyring in "${KEYRINGIDS[@]}"; do
if [[ -s "${KEYRING_IMPORT_DIR}/${keyring}-trusted" ]]; then
- "${GPG_PACMAN[@]}" --import-ownertrust "${KEYRING_IMPORT_DIR}/${keyring}-trusted"
+ "${GPG_PACMAN[@]}" --import-ownertrust "${KEYRING_IMPORT_DIR}/${keyring}-trusted" 2>/dev/null
fi
done
fi
--
1.7.10.4
More information about the pacman-dev
mailing list