[SCM] live-config branch, debian, updated. debian/2.0.7-1-8-gde79828

Daniel Baumann daniel at debian.org
Sat Oct 2 08:13:01 UTC 2010


The following commit has been merged in the debian branch:
commit ef26f2eded766679e9921ad63764050ca44291de
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Sep 28 20:00:26 2010 +0200

    Correctly prepending local hooks with file:// prefix (Closes: #598375).

diff --git a/scripts/config/999-hooks b/scripts/config/999-hooks
index 48b9b59..ba378d7 100755
--- a/scripts/config/999-hooks
+++ b/scripts/config/999-hooks
@@ -28,14 +28,14 @@ Process_hooks ()
 			filesystem)
 				if ls /lib/live/hooks/* 2>&1
 				then
-					_HOOKS="${_HOOKS} $(ls /lib/live/hooks/*)"
+					_HOOKS="${_HOOKS} $(for _FILE in /lib/live/hooks/*; do echo file://${_FILE}; done)"
 				fi
 				;;
 
 			medium)
 				if ls /live/image/live/hooks/* 2>&1
 				then
-					_HOOKS="${_HOOKS} $(ls /live/image/live/hooks/*)"
+					_HOOKS="${_HOOKS} $(for _FILE in /live/image/live/hooks/*; do echo file://${_FILE}; done)"
 				fi
 				;;
 

-- 
live-config



More information about the debian-live-changes mailing list