aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv7
1 files changed, 3 insertions, 4 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index 34ea72e..8dc2463 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -1,6 +1,6 @@
#! /bin/bash
# pbuilder -- personal Debian package builder
-# Copyright (C) 2001-2003 Junichi Uekawa
+# Copyright (C) 2001-2003,2005 Junichi Uekawa
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -44,8 +44,8 @@ fi
recover_aptcache
$TRAP saveaptcache_umountproc_cleanbuildplace exit
-$CHROOTEXEC /usr/bin/apt-get -y "${FORCE_CONFNEW[@]}" dist-upgrade
-$CHROOTEXEC /usr/bin/apt-get -y install build-essential dpkg-dev apt $EXTRAPACKAGES
+$CHROOTEXEC /usr/bin/apt-get -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade
+$CHROOTEXEC /usr/bin/apt-get -y --force-yes install build-essential dpkg-dev apt $EXTRAPACKAGES
save_aptcache
$TRAP umountproc_cleanbuildplace exit
$CHROOTEXEC /usr/bin/apt-get clean || true
@@ -62,4 +62,3 @@ if [ "${PRESERVE_BUILDPLACE}" = "yes" ]; then
trap exit
fi
-