Don't uninstall config overrides
[sockgit.git] / Makefile
index 8df3e74..e892f74 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ install:
        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