aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authordancer <dancer>2003-09-03 23:07:21 +0000
committerdancer <dancer>2003-09-03 23:07:21 +0000
commitad8185260681f3bd63f776aa4ac796b2bb868c77 (patch)
tree2fb106370ee9093d208fa31a215bdd70ebfa3f5e /pbuilder-updatebuildenv
parent34426e850bf31871a9f7f7921214c5dae774c055 (diff)
downloadpbuilder-ad8185260681f3bd63f776aa4ac796b2bb868c77.tar
pbuilder-ad8185260681f3bd63f776aa4ac796b2bb868c77.tar.gz
+2003-09-04 Junichi Uekawa <dancer@debian.org>
+ + * pbuilder-modules: fix typo in file existence checking. + + * debian/TODO: how about passing "-o dpkg::Options=--force-confnew" to apt? is now done. + Request from Roland Stigge <ernie@atari.antcom.de> + to finally implement the missing feature. + + * pbuilder-checkparams: set FORCE_CONFNEW array variable if + DEBIAN_FRONTEND is noninteractive to allow non-interactive install. + + * pbuilder-updatebuildenv: use FORCE_CONFNEW variable to + give force-confnew option to DPKG +
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index a2f70ae..2566459 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -37,7 +37,8 @@ if [ -n "$REMOVEPACKAGES" ]; then
$CHROOTEXEC /usr/bin/dpkg --purge $REMOVEPACKAGES
fi
recover_aptcache
-$CHROOTEXEC /usr/bin/apt-get -y dist-upgrade
+
+$CHROOTEXEC /usr/bin/apt-get -y "${FORCE_CONFNEW[@]}" dist-upgrade
$CHROOTEXEC /usr/bin/apt-get -y install build-essential dpkg-dev apt $EXTRAPACKAGES
save_aptcache
$CHROOTEXEC /usr/bin/apt-get clean || true