aboutsummaryrefslogtreecommitdiff
path: root/tools/etc/icpc/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/etc/icpc/update.sh')
-rwxr-xr-xtools/etc/icpc/update.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/etc/icpc/update.sh b/tools/etc/icpc/update.sh
deleted file mode 100755
index 78a87bb..0000000
--- a/tools/etc/icpc/update.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-if [ "`id -u`" != "0" ]; then
- echo "Script must run as root"
-fi
-if [ "$1" == "" ]; then
- wget -O /tmp/update.sh "http://www.ime.usp.br/~cassio/boca/download.php?filename=update.sh"
-else
- wget -O /tmp/update.sh "http://www.ime.usp.br/~cassio/boca/download.php?filename=update.$1.sh"
-fi
-chmod 700 /tmp/update.sh 2>/dev/null
-if [ $? != 0 ]; then
- echo "ERROR DOWNLOADING UPDATE"
- exit 1
-fi
-echo ">>>>>>>>>>"
-echo ">>>>>>>>>> Running update script"
-echo ">>>>>>>>>>"
-/tmp/update.sh
-rm -f /tmp/update.sh
-exit $?