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
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

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