summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/d-i_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 0bca99ac..6221e158 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -49,7 +49,7 @@ pdebuild_package() {
if [ ! -f /var/cache/pbuilder/base.tgz ] ; then
sudo pbuilder --create
else
- sudo pbuilder --update
+ sudo pbuilder --update || ( sudo rm /var/cache/pbuilder/base.tgz ; sudo pbuilder --create )
fi
#
# 3.0 quilt is not happy without an upstream tarball