diff options
author | Allan McRae <allan@archlinux.org> | 2010-08-08 03:54:33 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-09-27 07:06:59 +0200 |
commit | 879fed50985e511bba153c94d133f376e8f96484 (patch) | |
tree | 578b52219f5113cd0677a6f3d749961cda0f8184 /scripts/repo-add.sh.in | |
parent | d201d1f312308b91eff78cb20a148146c3f1188c (diff) | |
download | pacman-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.in | 1 |
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 } |