summaryrefslogtreecommitdiffstats
path: root/scripts/repo-add.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-08-08 03:54:33 +0200
committerAllan McRae <allan@archlinux.org>2010-09-27 07:06:59 +0200
commit879fed50985e511bba153c94d133f376e8f96484 (patch)
tree578b52219f5113cd0677a6f3d749961cda0f8184 /scripts/repo-add.sh.in
parentd201d1f312308b91eff78cb20a148146c3f1188c (diff)
downloadpacman-879fed50985e511bba153c94d133f376e8f96484.tar.gz
pacman-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/repo-add.sh.in')
-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
}