#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".

PARAMFILE=/tmp/git2darcs.$USER.update

[ -f $PARAMFILE -a -r $PARAMFILE ] && \
sh -x ../_NOWIKI/git2darcs/git2darcs.hook.sh `cat $PARAMFILE` >> ../../git2darcs.log && \
rm $PARAMFILE

exec git update-server-info