[SCM] debian-live/live-helper branch, master, updated. 1.0_a27-1-33-g7163ef7
Daniel Baumann
daniel at debian.org
Mon Sep 17 08:07:26 UTC 2007
The branch, master has been updated
via 7163ef77391c94992fdc4a7843428228aa22a602 (commit)
from 60271c791721f8c419f808cf14875d0c20067d8e (commit)
- Shortlog ------------------------------------------------------------
7163ef7 helpers/lh_binary_local-hooks
Summary of changes:
helpers/lh_binary_local-hooks | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit 7163ef77391c94992fdc4a7843428228aa22a602
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Sep 17 10:07:19 2007 +0200
helpers/lh_binary_local-hooks
* Making binary hooks executable in case the are not.
diff --git a/helpers/lh_binary_local-hooks b/helpers/lh_binary_local-hooks
index 7e469b4..df7ab87 100755
--- a/helpers/lh_binary_local-hooks
+++ b/helpers/lh_binary_local-hooks
@@ -52,6 +52,12 @@ if ls config/binary_local-hooks/* > /dev/null 2>&1
then
for HOOK in config/binary_local-hooks/*
do
+ # Making hook executable
+ if [ ! -x "${HOOK}" ]
+ then
+ chmod +x "${HOOK}"
+ fi
+
# Executing hook
./"${HOOK}"
done
--
debian-live/live-helper
More information about the debian-live-changes
mailing list