travis-racket/install-racket.sh
Greg Hendershott a5e01673ea Revert 14c6542
2013-07-03 00:01:04 -04:00

18 lines
342 B
Bash

set -e
URL="http://download.racket-lang.org/installers/$RACKET_VERSION/racket/racket-$RACKET_VERSION-bin-x86_64-linux-ubuntu-precise.sh"
INSTALL="./racket-$RACKET_VERSION.sh"
echo "Downloading $URL to $INSTALL:"
curl -o $INSTALL $URL
echo "Running $INSTALL to install Racket:"
chmod u+rx "$INSTALL"
sudo "$INSTALL" <<EOF
no
1
EOF
exit 0