overleaf/services/git-bridge/uninstall.sh

8 lines
218 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 &&\
rm -rf /etc/wlgb
/usr/sbin/update-rc.d -f wlgb remove