summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-08-08 11:54:33 +1000
committerAllan McRae <allan@archlinux.org>2010-09-27 15:06:59 +1000
commit879fed50985e511bba153c94d133f376e8f96484 (patch)
tree578b52219f5113cd0677a6f3d749961cda0f8184 /scripts
parentd201d1f312308b91eff78cb20a148146c3f1188c (diff)
downloadpacman-879fed50985e511bba153c94d133f376e8f96484.tar.xz
repo-add: make --quiet output more quiet
Fixes FS#20403. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/repo-add.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index 283ad07a..8ef940d0 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
}