aboutsummaryrefslogtreecommitdiff
path: root/uninstall.do
diff options
context:
space:
mode:
Diffstat (limited to 'uninstall.do')
-rw-r--r--uninstall.do9
1 files changed, 9 insertions, 0 deletions
diff --git a/uninstall.do b/uninstall.do
new file mode 100644
index 0000000..d2f4585
--- /dev/null
+++ b/uninstall.do
@@ -0,0 +1,9 @@
+. ./config.rc
+
+getbin | while read -r file; do
+ rm -f "${DESTDIR}${BINDIR}/${file##*/}"
+done
+
+for man in man/*.1; do
+ rm -f "${DESTDIR}${MAN1}/${man##*/}"
+done