diff --git a/services/git-bridge/install-deps.sh b/services/git-bridge/install-deps.sh old mode 100644 new mode 100755 diff --git a/services/git-bridge/install.sh b/services/git-bridge/install.sh index 9aa1b81ea5..9860618e33 100755 --- a/services/git-bridge/install.sh +++ b/services/git-bridge/install.sh @@ -2,6 +2,7 @@ if [ "$(id -u)" != "0" ]; then echo "You must be root to install" 1>&2 exit 1 fi +command -v ant >/dev/null 2>&1 && command -v /usr/lib/jvm/java-7-openjdk-amd64/bin/javac >/dev/null 2>&1 || ./install-deps.sh ant all &&\ cp ./bin/writelatex-git-bridge.jar /usr/local/sbin/ &&\ cp ./bin/wlgb /etc/init.d/ &&\ diff --git a/services/git-bridge/uninstall.sh b/services/git-bridge/uninstall.sh old mode 100644 new mode 100755