aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-29 09:27:47 +0000
committerdacctal <dacctal@symlinx.net>2026-05-29 09:27:47 +0000
commitfb27f1118b6d3c56170a15edbb343461caae64ba (patch)
treefb216765e93b2cae0533e0792e782a4aa44d9a16
parent205d99d4c243c8f5ab60e61469d01c12b3cfcf88 (diff)
@codefox added rmconfig to makefile
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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