From 00e57f97b06d0444e0ba5fc77179c09a72cf8439 Mon Sep 17 00:00:00 2001 From: Eddy Petrișor Date: Thu, 6 Mar 2008 02:29:34 +0200 Subject: Accepting to rewrite the pbuilderrc is done just for on run of configure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When accepting to rewrite the config, most definetly, the user wants just this once to accept the rewrite, not every time from this point onwards (including upgrades). In other words, accepting rewrite is forgot immediately, and valid only once. Signed-off-by: Eddy Petrișor --- debian/pbuilder.postinst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian') diff --git a/debian/pbuilder.postinst b/debian/pbuilder.postinst index 2b046f3..8665c49 100755 --- a/debian/pbuilder.postinst +++ b/debian/pbuilder.postinst @@ -35,6 +35,9 @@ case "$1" in db_get pbuilder/rewrite [ "$RET" = "true" ] || exit 0 + + # make sure latter calls do not overwrite stuff silently + db_set pbuilder/rewrite "false" fi else echo "MIRRORSITE=$PLACEHOLDER" > "$CONFFILE" -- cgit v1.2.3