mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 12:58:41 +00:00
fix: fix the wrong svn password (#8)
The new install script (commit 19aac52
) made a mistake in svn password, which made a error
when trying to click the 与svn仓库同步 button. Just fix this bug.
This commit is contained in:
parent
1c1e219681
commit
349f8471e1
@ -85,7 +85,7 @@ UOJEOF
|
|||||||
#Set SVN hook scripts
|
#Set SVN hook scripts
|
||||||
cat >/var/svn/uoj/hooks/post-commit <<UOJEOF
|
cat >/var/svn/uoj/hooks/post-commit <<UOJEOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd /var/svn/uoj/cur/uoj && svn update --username root --password $_svn_certroot_password_
|
cd /var/svn/uoj/cur/uoj && svn update --username root --password $_svn_ourroot_password_
|
||||||
UOJEOF
|
UOJEOF
|
||||||
chmod +x /var/svn/uoj/hooks/post-commit
|
chmod +x /var/svn/uoj/hooks/post-commit
|
||||||
cat >/var/svn/judge_client/hooks/post-commit <<UOJEOF
|
cat >/var/svn/judge_client/hooks/post-commit <<UOJEOF
|
||||||
|
Loading…
Reference in New Issue
Block a user