uninstall: remove $(PREFIX)/share/giteapc if empty

This commit is contained in:
Lephenixnoir 2021-01-30 22:04:26 +01:00
parent 1c997f2c41
commit b81937ad50
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ install: $(bin)
uninstall:
rm -f $(PREFIX)/bin/giteapc
rm -rf $(PREFIX)/lib/giteapc
rmdir $(PREFIX)/share/giteapc 2>/dev/null || true
@ echo "note: repositories cloned by GiteaPC have not been removed"
.PHONY: install uninstall