[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 81d8a3723de34be10d356242e5e7021b641b9669
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Sep 30 20:46:05 2010 +0200

    Simplyfing and silencing switch between local and remote files in hooks script.

diff --git a/scripts/config/999-hooks b/scripts/config/999-hooks
index dee637e..147d57b 100755
--- a/scripts/config/999-hooks
+++ b/scripts/config/999-hooks
@@ -49,7 +49,7 @@ Process_hooks ()
 	do
 		_TMPFILE="$(mktemp -t live-config.XXXXXXXX)"
 
-		if $(echo "${_HOOK}" | grep file:\/\/)
+		if echo "${_HOOK}" | grep -qs file://
 		then
 			# local file
 			cp $(echo ${_HOOK} | sed 's|file\://||') "${_TMPFILE}"

-- 
live-config



More information about the debian-live-changes mailing list