#!/bin/bash SVN_USER=svn hvconfig_pre() { groupadd --system -f ${SVN_USER} hv_useradd --system -c SvnServer -d /dev/null -g ${SVN_USER} \ -s /bin/false ${SVN_USER} } hvbuild_post() { # Build perl bindings (needed by git-svn) ${HVMAKE} swig-pl ${HVMAKE} install-swig-pl } hvbuild_post() { # Creating repositories directory mkdir -p /srv/svn chown ${SVN_USER}:${SVN_USER} /srv/svn }