overleaf/services/git-bridge/uninstall.sh
2014-12-05 21:00:20 +00:00

7 lines
201 B
Bash
Executable file

if [ "$(id -u)" != "0" ]; then
echo "You must be root to uninstall" 1>&2
exit 1
fi
rm -f /usr/local/sbin/writelatex-git-bridge.jar &&\
rm -f /etc/init.d/wlgb &&\
/usr/sbin/update-rc.d -f wlgb remove