[pacman-dev] [PATCH] repo-add: make --quiet output more quiet
Allan McRae
allan at archlinux.org
Sat Aug 7 21:56:43 EDT 2010
Fixes FS#20403.
Signed-off-by: Allan McRae <allan at archlinux.org>
---
scripts/repo-add.sh.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index 2838f81..2293c46 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -37,6 +37,7 @@ startdir="$PWD"
umask 0022
msg() {
+ (( QUIET )) && return
local mesg=$1; shift
printf "==> ${mesg}\n" "$@" >&1
}
--
1.7.2.1
More information about the pacman-dev
mailing list