summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-07-31 22:01:27 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:45 +0100
commite554c785c985a32eef784e2669e143797ef70bb3 (patch)
tree8cb9af0c4f5a6aca184ca4281b7a61ea47234240
parent5cf91050f201b72ad434919dc68643fe5a736752 (diff)
downloadvyos-live-build-e554c785c985a32eef784e2669e143797ef70bb3.tar.gz
vyos-live-build-e554c785c985a32eef784e2669e143797ef70bb3.zip
Removing config stage file on purge, if the user is using an auto script to generate the config.
-rwxr-xr-xhelpers/lh_clean5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index 95cf60b64..eff7aac76 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)