mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Added -p to mkdir and made uninstall.sh delete /etc/wlgb
This commit is contained in:
parent
5e8836df1a
commit
e6274b110b
2 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@ command -v ant >/dev/null 2>&1 && command -v /usr/lib/jvm/java-7-openjdk-amd64/b
|
|||
ant all &&\
|
||||
mv ./bin/writelatex-git-bridge.jar /usr/local/sbin/ &&\
|
||||
cp ./bin/wlgb /etc/init.d/ &&\
|
||||
mkdir /var/log/wlgb &&\
|
||||
mkdir /etc/wlgb &&\
|
||||
mkdir -p /var/log/wlgb &&\
|
||||
mkdir -p /etc/wlgb &&\
|
||||
cp ./bin/config.json /etc/wlgb/ &&\
|
||||
/usr/sbin/update-rc.d -f wlgb defaults
|
||||
|
|
|
@ -4,4 +4,5 @@ if [ "$(id -u)" != "0" ]; then
|
|||
fi
|
||||
rm -f /usr/local/sbin/writelatex-git-bridge.jar &&\
|
||||
rm -f /etc/init.d/wlgb &&\
|
||||
rm -rf /etc/wlgb
|
||||
/usr/sbin/update-rc.d -f wlgb remove
|
||||
|
|
Loading…
Reference in a new issue