aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authordancer <dancer>2002-02-14 13:28:00 +0000
committerdancer <dancer>2002-02-14 13:28:00 +0000
commitb87a01e5191e522be5f3dc7113c7f889c53004c1 (patch)
tree8d390587215d583a8ba92c4a89a2db579e4e128f /pbuilder-updatebuildenv
parentd32e66e06fc92114b6ba371f8566f05f9195be4f (diff)
downloadpbuilder-b87a01e5191e522be5f3dc7113c7f889c53004c1.tar
pbuilder-b87a01e5191e522be5f3dc7113c7f889c53004c1.tar.gz
changes
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv4
1 files changed, 3 insertions, 1 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index 5a191ae..c081b5e 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -35,7 +35,9 @@ fi
echo "Refreshing the base.tgz "
echo " -> upgrading packages"
$CHROOTEXEC /usr/bin/apt-get update
-$CHROOTEXEC /usr/bin/dpkg --purge lilo
+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