summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-17 19:30:54 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-17 19:30:54 +0200
commitfc6efdc38acc2ac0160a3f3f4064cbb2518da5e6 (patch)
tree9f977921dbdce17a2db05de1d003a446ad0010f4
parent87f5eb6300d07541a20cd590b3308c233ab027d7 (diff)
downloaddevtools-fc6efdc38acc2ac0160a3f3f4064cbb2518da5e6.tar.gz
devtools-fc6efdc38acc2ac0160a3f3f4064cbb2518da5e6.tar.xz
reduce pacman's verbosity
-rwxr-xr-xmkarchroot7
1 files changed, 2 insertions, 5 deletions
diff --git a/mkarchroot b/mkarchroot
index fcb65db..189c9d4 100755
--- a/mkarchroot
+++ b/mkarchroot
@@ -34,7 +34,7 @@ usage() {
while getopts 'r:ufnhC:M:c:' arg; do
case "${arg}" in
r) RUN="$OPTARG" ;;
- u) RUN='pacman -Syu' ;;
+ u) RUN='pacman -Syu --noconfirm' ;;
f) FORCE='y' ;;
C) pac_conf="$OPTARG" ;;
M) makepkg_conf="$OPTARG" ;;
@@ -158,10 +158,7 @@ if [ "$RUN" != "" ]; then
chroot_mount
- pacargs='--noconfirm -v ' #--noprogressbar -v
- pacargs="$pacargs --root=${working_dir}"
- # pacman takes these as relative to the given root
- pacargs="$pacargs --cachedir=${cache_dir}"
+ pacargs="--noconfirm --root=${working_dir} --cachedir=${cache_dir}"
if [ "$pac_conf" != "" ]; then
pacargs="$pacargs --config=${pac_conf}"
fi