From be2491b093b1f0ca430bede679ecbb670041e483 Mon Sep 17 00:00:00 2001 From: cassio Date: Tue, 2 Jul 2013 09:46:45 +0400 Subject: restructuring of boca's git --- tools/etc/icpc/update.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tools/etc/icpc/update.sh (limited to 'tools/etc/icpc/update.sh') diff --git a/tools/etc/icpc/update.sh b/tools/etc/icpc/update.sh new file mode 100644 index 0000000..f6b4bb6 --- /dev/null +++ b/tools/etc/icpc/update.sh @@ -0,0 +1,14 @@ +#!/bin/bash +if [ "`id -u`" != "0" ]; then + echo "Script must run as root" +fi +wget -O /tmp/update.sh "http://www.ime.usp.br/~cassio/boca/update.sh" +if [ $? != 0 ]; then + echo "ERROR DOWNLOADING UPDATE" + exit 1 +fi +echo ">>>>>>>>>>" +echo ">>>>>>>>>> Running update script" +echo ">>>>>>>>>>" +/tmp/update.sh +exit $? -- cgit v1.2.3