mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Made scripts executable.
This commit is contained in:
parent
07cea76931
commit
605107aa74
3 changed files with 1 additions and 0 deletions
0
services/git-bridge/install-deps.sh
Normal file → Executable file
0
services/git-bridge/install-deps.sh
Normal file → Executable file
|
@ -2,6 +2,7 @@ if [ "$(id -u)" != "0" ]; then
|
||||||
echo "You must be root to install" 1>&2
|
echo "You must be root to install" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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 &&\
|
ant all &&\
|
||||||
cp ./bin/writelatex-git-bridge.jar /usr/local/sbin/ &&\
|
cp ./bin/writelatex-git-bridge.jar /usr/local/sbin/ &&\
|
||||||
cp ./bin/wlgb /etc/init.d/ &&\
|
cp ./bin/wlgb /etc/init.d/ &&\
|
||||||
|
|
0
services/git-bridge/uninstall.sh
Normal file → Executable file
0
services/git-bridge/uninstall.sh
Normal file → Executable file
Loading…
Reference in a new issue