about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-06-17 02:07:07 -0400
committerBen Morrison <ben@gbmor.dev>2020-06-17 02:07:07 -0400
commit95b0bbd7cc3bef38177a6e4bcd426b363b9d145d (patch)
treecc20cad4f02c60ac37a86010696fb1f338a6c17f
parenta0d9d84d424efc86f1ab78c88c479a60b7ed841a (diff)
downloadclinte-95b0bbd7cc3bef38177a6e4bcd426b363b9d145d.tar.gz
added removal of notify script to uninstall target
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 366d375..d5d93e5 100644
--- a/Makefile
+++ b/Makefile
@@ -51,5 +51,6 @@ test:
 uninstall:
 	@printf "\n%s\n" "Uninstalling clinte..."
 	rm -f $(BINDIR)/clinte
+	@if [ -e /etc/profile.d ]; then printf "%s\n" "rm -f /etc/profile.d/check_new_clinte_posts.sh" && rm -f /etc/profile.d/check_new_clinte_posts.sh; fi
 	@printf "\n%s\n" "...Done!"
-	@printf "%s %s\n" "The database is still intact in" $(DBDIR)
+	@printf "%s %s\n" "The posts are still intact in" $(DBDIR)