aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
authordancer <dancer>2002-02-09 15:37:29 +0000
committerdancer <dancer>2002-02-09 15:37:29 +0000
commitf08508856cbd7c3681cd23735224da753a02f7bf (patch)
tree8126d3e46e08c73aaba400b223f65e281b3a8b79 /pbuilder-createbuildenv
parent3b100b7cab518735ccba3dda8ba90d62fe6f7092 (diff)
downloadpbuilder-f08508856cbd7c3681cd23735224da753a02f7bf.tar
pbuilder-f08508856cbd7c3681cd23735224da753a02f7bf.tar.gz
update, and bugfixes
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv2
1 files changed, 2 insertions, 0 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index 67eea80..f181b51 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -76,8 +76,10 @@ $CHROOTEXEC /usr/bin/apt-get update
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 install build-essential dpkg-dev apt $EXTRAPACKAGES
+save_aptcache
$CHROOTEXEC /usr/bin/apt-get clean
if [ -n "$HOOKDIR" ]; then
executehooks "X"