summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--post-receive3
-rw-r--r--update3
3 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 031b4af..2da9941 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/update b/update
new file mode 100644
index 0000000..0433185
--- /dev/null
+++ b/update
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+date > /tmp/git_update_test