[SCM] live-config branch, debian-old-2.0, updated. debian/2.0.7-1-6-g81d8a37
Daniel Baumann
daniel at debian.org
Thu Sep 30 18:46:03 UTC 2010
The following commit has been merged in the debian-old-2.0 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