Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
538 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | #remove old package |
---|
| 4 | removepkg svn |
---|
| 5 | touch /var/log/packages/svn-9-i586-9999 |
---|
| 6 | |
---|
| 7 | mkdir -p /home/system/svn |
---|
| 8 | |
---|
| 9 | if ! [ -e /home/system/svn/default ]; then |
---|
| 10 | svnadmin create /home/system/svn/default || exit 1 |
---|
| 11 | chown -R nobody /home/system/svn/default || exit 1 |
---|
| 12 | fi |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | if ! getent group "SVN read access" &> /dev/null; then |
---|
| 16 | smbldap-groupadd -g 540 "SVN read access" || exit 1; |
---|
| 17 | fi |
---|
| 18 | |
---|
| 19 | if ! getent group "SVN write access" &> /dev/null; then |
---|
| 20 | smbldap-groupadd -g 541 "SVN write access" || exit 1; |
---|
| 21 | fi |
---|
| 22 | |
---|
| 23 | svcrestart /service/apache2 |
---|
| 24 | |
---|
| 25 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.