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:
Billchenchina 2017-12-31 23:34:59 +08:00 committed by ceba
parent 1c1e219681
commit 349f8471e1

View File

@ -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