From e554c785c985a32eef784e2669e143797ef70bb3 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Fri, 31 Jul 2009 22:01:27 +0200
Subject: Removing config stage file on purge, if the user is using an auto
 script to generate the config.

---
 helpers/lh_clean | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/helpers/lh_clean b/helpers/lh_clean
index 95cf60b..eff7aac 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -110,6 +110,11 @@ do
 		--purge)
 			"${0}" --all
 			"${0}" --cache
+
+			if [ -e scripts/config ]
+			then
+				rm -f .stage/config
+			fi
 			;;
 
 		--stage)
-- 
cgit v1.0