#!/bin/bash #remove old package removepkg svn touch /var/log/packages/svn-9-i586-9999 mkdir -p /home/system/svn if ! [ -e /home/system/svn/default ]; then svnadmin create /home/system/svn/default || exit 1 chown -R nobody /home/system/svn/default || exit 1 fi if ! getent group "SVN read access" &> /dev/null; then smbldap-groupadd -g 540 "SVN read access" || exit 1; fi if ! getent group "SVN write access" &> /dev/null; then smbldap-groupadd -g 541 "SVN write access" || exit 1; fi svcrestart /service/apache2 exit 0