Commit | Line | Data |
---|---|---|
3bd921b8 JC |
1 | .PHONY: install uninstall |
2 | install: | |
9b0fcc1e | 3 | mkdir -p /usr/share/sockgit/templates && cp -r templates/* /usr/share/sockgit/templates/ |
3bd921b8 JC |
4 | cp sockgit-listen* /etc/systemd/system/ |
5 | ln -s $(shell pwd)/sockgit.sh /usr/bin/sockgit | |
6 | ||
7 | uninstall: | |
3c7c34ca JC |
8 | rm -f /etc/systemd/system/sockgit-listen.socket |
9 | rm -f /etc/systemd/system/sockgit-listen@.service | |
3bd921b8 JC |
10 | rm -rf /usr/share/sockgit |
11 | rm -f /usr/bin/sockgit |