mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Put the sudos back in.
This commit is contained in:
parent
cd7877e02e
commit
9e1d28b9bb
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ installDeps() {
|
|||
}
|
||||
|
||||
command -v mvn >/dev/null 2>&1 && command -v /usr/lib/jvm/java-7-openjdk-amd64/bin/javac >/dev/null 2>&1 || installDeps
|
||||
mvn package &&\
|
||||
sudo mvn package &&\
|
||||
sudo cp ./target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar /usr/local/sbin/writelatex-git-bridge.jar &&\
|
||||
sudo cp ./bin/wlgb /etc/init.d/ &&\
|
||||
sudo mkdir -p /var/log/wlgb &&\
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
command -v mvn >/dev/null 2>&1 || sudo apt-get install maven
|
||||
mvn package &&\
|
||||
sudo mvn package &&\
|
||||
sudo mv ./target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar /usr/local/sbin/writelatex-git-bridge.jar
|
||||
|
|
Loading…
Reference in a new issue