mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
9 lines
317 B
Bash
Executable file
9 lines
317 B
Bash
Executable file
if [ "$(id -u)" != "0" ]; then
|
|
echo "You must be root to install deps" 1>&2
|
|
exit 1
|
|
fi
|
|
apt-get update
|
|
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
|