[SCM] live-config branch, debian-next, updated. abfb45a8ba293f7e742e1320eab5ddbf7dbc7f6d

Daniel Baumann daniel at debian.org
Tue Sep 28 18:00:25 UTC 2010


The following commit has been merged in the debian-next branch:
commit abfb45a8ba293f7e742e1320eab5ddbf7dbc7f6d
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Sep 28 20:00:10 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