[SCM] live-config branch, debian-next, updated. 558f05976351bd930a4d2874885da24e4ddeb093
Daniel Baumann
daniel at debian.org
Thu Sep 30 18:46:14 UTC 2010
The following commit has been merged in the debian-next branch:
commit 558f05976351bd930a4d2874885da24e4ddeb093
Author: Daniel Baumann <daniel at debian.org>
Date: Thu Sep 30 20:46:27 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