aboutsummaryrefslogtreecommitdiff
path: root/debian/pbuilder.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pbuilder.postinst')
-rwxr-xr-xdebian/pbuilder.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/pbuilder.postinst b/debian/pbuilder.postinst
index 8665c49..ae1cb3d 100755
--- a/debian/pbuilder.postinst
+++ b/debian/pbuilder.postinst
@@ -38,6 +38,11 @@ case "$1" in
# make sure latter calls do not overwrite stuff silently
db_set pbuilder/rewrite "false"
+ else
+ # no MIRRORSITE line found in the pbuilderrc file
+ echo "MIRRORSITE=$PLACEHOLDER" >> "$CONFFILE"
+ MIRRORSITE=""
+ db_set pbuilder/mirrorsite ""
fi
else
echo "MIRRORSITE=$PLACEHOLDER" > "$CONFFILE"