From fb27f1118b6d3c56170a15edbb343461caae64ba Mon Sep 17 00:00:00 2001 From: dacctal Date: Fri, 29 May 2026 09:27:47 +0000 Subject: @codefox added rmconfig to makefile --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 98fe87a..d90be51 100644 --- a/Makefile +++ b/Makefile @@ -36,5 +36,11 @@ defconfig: cp -r ./config/* $$dir/; \ echo "default config installed" +rmconfig: + @if [ "$$(id -u)" -eq 0 ]; then dir=/etc/pkgit; else dir=~/.config/pkgit; fi; \ + echo "removing config from $$dir ..."; \ + rm -rf $$dir; \ + echo "config successfully removed" + clean: ${RM} -r $(OBJDIR) pkgit -- cgit v1.2.3