Don't uninstall config overrides
[sockgit.git] / Makefile
index c712bc8..e892f74 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
 .PHONY: install uninstall
 install:
-       mkdir -p /usr/share/sockgit/templates && cp -r templates/*
+       mkdir -p /usr/share/sockgit/templates && cp -r templates/* /usr/share/sockgit/templates/
        cp sockgit-listen* /etc/systemd/system/
        ln -s $(shell pwd)/sockgit.sh /usr/bin/sockgit
 
 uninstall:
-       rm -f /etc/systemd/system/sockgit-listen*
+       rm -f /etc/systemd/system/sockgit-listen.socket
+       rm -f /etc/systemd/system/sockgit-listen@.service
        rm -rf /usr/share/sockgit
        rm -f /usr/bin/sockgit