From 7e2f9683036dd78f9ac4897b55f07f6286008a37 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Fri, 26 Oct 2012 16:34:47 +0200 Subject: bug fixed about score file name in updatescore.sh, and inclusion of installboca.sh update itself --- boca-1.5.2/tools/etc/icpc/installboca.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'boca-1.5.2/tools/etc') diff --git a/boca-1.5.2/tools/etc/icpc/installboca.sh b/boca-1.5.2/tools/etc/icpc/installboca.sh index d1cb842..55d8d18 100755 --- a/boca-1.5.2/tools/etc/icpc/installboca.sh +++ b/boca-1.5.2/tools/etc/icpc/installboca.sh @@ -151,6 +151,11 @@ cp -f safeexec /usr/bin chmod 4555 /usr/bin/safeexec [ -d /bocajail/usr/bin ] && cp -a /usr/bin/safeexec /bocajail/usr/bin/ +if [ -f /etc/icpc/installboca.sh ]; then + cp $basedir/boca/tools/etc/icpc/installboca.sh /etc/icpc/installboca.sh + chmod 700 /etc/icpc/installboca.sh +fi + echo "==================================================" echo "=================== SERVER SETUP ===============" echo "==================================================" -- cgit v1.2.3