[SCM] Debian Live build scripts branch, master, updated. 1.0.3-2-49-ga2710e7

Daniel Baumann daniel at debian.org
Sun May 3 07:58:17 UTC 2009


The following commit has been merged in the master branch:
commit a2710e7ec0be753bae4ab90ff61f23523eb496e2
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun May 3 09:53:28 2009 +0200

    Correcting clean option of lh_config to tidy configuration tree.

diff --git a/helpers/lh_config b/helpers/lh_config
index f91f026..9daa087 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -196,7 +196,7 @@ Local_arguments ()
 				exit 0
 				;;
 
-			clean)
+			--clean)
 				# Remove empty directories in config tree
 				if ls config/*/ > /dev/null 2>&1
 				then
@@ -207,6 +207,13 @@ Local_arguments ()
 				then
 					rmdir --ignore-fail-on-non-empty config
 				fi
+
+				if [ -d scripts ]
+				then
+					rmdir --ignore-fail-on-non-empty scripts
+				fi
+
+				exit 0
 				;;
 
 			# config/common

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list