[SCM] live-helper branch, master, updated. 1.0.5-2-32-gbe20f65

Daniel Baumann daniel at debian.org
Tue Oct 20 19:13:20 UTC 2009


The following commit has been merged in the master branch:
commit be20f653648629c4647d4f0fdbc0b8fa7e05e89b
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Oct 20 21:12:22 2009 +0200

    Avoid showing 'dashed commands are deprecated' warning more than one within lh_clean.

diff --git a/helpers/lh_clean b/helpers/lh_clean
index eff7aac..823b660 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -54,10 +54,10 @@ for ARGUMENT in ${ARGUMENTS}
 do
 	case "${ARGUMENT}" in
 		--all)
-			"${0}" noautoconfig --chroot
-			"${0}" noautoconfig --binary
-			"${0}" noautoconfig --stage
-			"${0}" noautoconfig --source
+			LH=1 "${0}" noautoconfig --chroot
+			LH=1 "${0}" noautoconfig --binary
+			LH=1 "${0}" noautoconfig --stage
+			LH=1 "${0}" noautoconfig --source
 
 			if [ -d scripts ]
 			then
@@ -103,13 +103,13 @@ do
 			;;
 
 		--remove)
-			"${0}" --all
+			LH=1 "${0}" --all
 			rm -rf cache/packages_*
 			;;
 
 		--purge)
-			"${0}" --all
-			"${0}" --cache
+			LH=1 "${0}" --all
+			LH=1 "${0}" --cache
 
 			if [ -e scripts/config ]
 			then

-- 
live-helper



More information about the debian-live-changes mailing list