usage
fi
-if test ! -e post-receive-email-id; then
- echo "file post-receive-email-id must be in current directory"
+if test ! -e post-receive; then
+ echo "file post-receive must be in the current directory"
exit 1
fi
touch git-daemon-export-ok
echo "${DESC}" >description
git config core.sharedRepository true
- cp ../post-receive-email-id hooks/post-receive
+ cp ../post-receive hooks/post-receive
chmod +x hooks/post-receive
git config hooks.mailinglist gitid@indexdata.dk
cd ..
--- /dev/null
+#!/bin/sh
+#
+# An example hook script for the post-receive event
+#
+# This script is run after receive-pack has accepted a pack and the
+# repository has been updated. It is passed arguments in through stdin
+# in the form
+# <oldrev> <newrev> <refname>
+# For example:
+# aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
+#
+# see contrib/hooks/ for an sample, or uncomment the next line (on debian)
+#
+
+
+. /home/git/tools/git-tools/post-receive-email-id