Fixed install-deps.sh.

This commit is contained in:
Winston Li 2014-12-05 21:10:07 +00:00
parent 605107aa74
commit 332d776ad1

View file

@ -3,7 +3,7 @@ if [ "$(id -u)" != "0" ]; then
exit 1
fi
apt-get update
apt-get install ant
apt-get install openjdk-7-jdk
update-alternatives --set java /usr/lib/java-7-openjdk-amd64/jre/bin/java
update-alternatives --set javac /usr/lib/java-7-openjdk-amd64/jre/bin/javac
apt-get install -y ant
apt-get install -y openjdk-7-jdk
update-alternatives --set java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
update-alternatives --set javac /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javac