projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa32070
)
Making hooks executable after fetching them.
author
Daniel Baumann
<daniel@debian.org>
Thu, 6 Mar 2008 07:14:12 +0000
(08:14 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:31:06 +0000
(17:31 +0100)
scripts/live-bottom/99hook
patch
|
blob
|
history
diff --git
a/scripts/live-bottom/99hook
b/scripts/live-bottom/99hook
index
0341026
..
dd027ab
100755
(executable)
--- a/
scripts/live-bottom/99hook
+++ b/
scripts/live-bottom/99hook
@@
-34,6
+34,10
@@
log_begin_msg "Executing custom hook script..."
cd /root
wget "${HOOK}"
-./$(basename ${HOOK})
+FILE="$(basename ${HOOK})"
+
+chmod 0755 "${FILE}"
+./"${FILE}"
+rm -f "${FILE}"
log_end_msg