summaryrefslogtreecommitdiffstats
path: root/extra/subversion/subversion.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/subversion/subversion.pre-install')
-rw-r--r--extra/subversion/subversion.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/subversion/subversion.pre-install b/extra/subversion/subversion.pre-install
new file mode 100644
index 000000000..b61563cc2
--- /dev/null
+++ b/extra/subversion/subversion.pre-install
@@ -0,0 +1,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
+