diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | post-receive | 3 | ||||
-rw-r--r-- | update | 3 |
3 files changed, 9 insertions, 1 deletions
@@ -5,5 +5,7 @@ PREFIX?=/var/empty all: @echo Done -install: pre-receive +install: pre-receive post-receive update cp pre-receive ${PREFIX}/ + cp post-receive ${PREFIX}/ + cp update ${PREFIX}/ diff --git a/post-receive b/post-receive new file mode 100644 index 0000000..db5cb0e --- /dev/null +++ b/post-receive @@ -0,0 +1,3 @@ +#!/bin/bash + +date > /tmp/git_post-receive_test @@ -0,0 +1,3 @@ +#!/bin/bash + +date > /tmp/git_update_test |