diff options
author | Junichi Uekawa <dancer@netfort.gr.jp> | 2009-08-15 14:08:54 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@netfort.gr.jp> | 2009-08-15 14:08:54 +0900 |
commit | aff01735117398ff354134327ded0f8773ba5080 (patch) | |
tree | c1d3d0ab54edd64b6d4e48b14610a503047babca /pbuilder-updatebuildenv | |
parent | 5047167c4e74464a454a79e94944843a0a586ef9 (diff) | |
download | pbuilder-aff01735117398ff354134327ded0f8773ba5080.tar pbuilder-aff01735117398ff354134327ded0f8773ba5080.tar.gz |
pass apt-get '-q' option to remove the progress.
It's probably not too useful when used non-interactively, and clutters output.
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 0915981..ecbc60f 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -37,19 +37,19 @@ $TRAP umountproc_cleanbuildplace_trap exit sighup loadhooks log "I: Refreshing the base.tgz " log "I: upgrading packages" -$CHROOTEXEC /usr/bin/apt-get update +$CHROOTEXEC /usr/bin/apt-get -q update if [ -n "$REMOVEPACKAGES" ]; then $CHROOTEXEC /usr/bin/dpkg --purge $REMOVEPACKAGES fi recover_aptcache $TRAP saveaptcache_umountproc_cleanbuildplace_trap exit sighup -$CHROOTEXEC /usr/bin/apt-get -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade +$CHROOTEXEC /usr/bin/apt-get -q -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade # autoremove: Ignore error in case of etch because apt in etch doesn't # support autoremove. TODO: Do not ignore error when etch is no longer # supported. -$CHROOTEXEC /usr/bin/apt-get -y --force-yes autoremove || true -$CHROOTEXEC /usr/bin/apt-get -y --force-yes install build-essential dpkg-dev apt $EXTRAPACKAGES +$CHROOTEXEC /usr/bin/apt-get -q -y --force-yes autoremove || true +$CHROOTEXEC /usr/bin/apt-get -q -y --force-yes install build-essential dpkg-dev apt $EXTRAPACKAGES save_aptcache # optionally auto-clean apt-cache |