[SCM] live-config branch, debian, updated. debian/3.0_a37-1

Daniel Baumann daniel at debian.org
Mon Apr 9 17:06:59 UTC 2012


The following commit has been merged in the debian branch:
commit 41c62d39d33083e49baadf9ab9fe376f59e9bd98
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Apr 6 11:19:23 2012 +0200

    Exiting early in hooks script if no hooks were specified.

diff --git a/scripts/config/999-hooks b/scripts/config/999-hooks
index 629dcb9..e177430 100755
--- a/scripts/config/999-hooks
+++ b/scripts/config/999-hooks
@@ -31,6 +31,11 @@ Hooks ()
 
 Process_hooks ()
 {
+	if [ -z "${LIVE_HOOKS}" ]
+	then
+		return
+	fi
+
 	for _HOOK in $(echo ${LIVE_HOOKS} | sed -e 's/|/ /g')
 	do
 		case "${_HOOK}" in

-- 
live-config



More information about the debian-live-changes mailing list