summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/d-i_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 554ca2af..84debbe2 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -47,12 +47,12 @@ pdebuild_package() {
# prepare build
#
if [ ! -f /var/cache/pbuilder/base.tgz ] ; then
+ sudo pbuilder --create
+ else
# FIXME: begin debug code
ls -la /var/cache/pbuilder/base.tgz
file /var/cache/pbuilder/base.tgz
# FIXME: end debug code
- sudo pbuilder --create
- else
sudo pbuilder --update || ( sudo rm /var/cache/pbuilder/base.tgz ; sudo pbuilder --create )
fi
#