Skip to content

Commit

Permalink
Making hooks executable after fetching them.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Mar 6, 2008
1 parent 799587c commit 8bc714c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/live-bottom/99hook
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8bc714c

Please sign in to comment.