1 2 3 4 5 6 7 8 9 10
#!/bin/sh case "$1" in pre_install) addgroup svnusers 2>/dev/null adduser svn -D -h /var/svn -G svnusers 2>/dev/null ;; esac exit 0