From ffaa78aba6cc5dcea368d4ec448eddf326a9ac4c Mon Sep 17 00:00:00 2001
From: namark <namark@disroot.org>
Date: Fri, 20 Mar 2020 02:35:40 +0400
Subject: [PATCH] Proper cleanup of directories when uninstalling.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 4cb06af..85d0a1c 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ $(BINDIR):
 
 uninstall:
 	-rm $(TARGET)
-	@rmdir $(BINDIR) 2> /dev/null || true
+	@rmdir -p $(BINDIR) 2> /dev/null || true
 	@echo Uninstall complete!
 
 -include $(DEPENDS)
-- 
GitLab