aboutsummaryrefslogtreecommitdiff
path: root/news/leafnode/pkg-plist
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-02-27 18:40:30 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-02-27 18:40:30 +0000
commit7c13b7541f1c576722023cf67cd2fb9648849227 (patch)
tree52ca30d013e69f31e95d64aeb8ade2a2157ef504 /news/leafnode/pkg-plist
parente45a6d129e4a898e360045998c6e930452262958 (diff)
Notes
Diffstat (limited to 'news/leafnode/pkg-plist')
-rw-r--r--news/leafnode/pkg-plist17
1 files changed, 16 insertions, 1 deletions
diff --git a/news/leafnode/pkg-plist b/news/leafnode/pkg-plist
index a0d292c3aed6..f922b97467c6 100644
--- a/news/leafnode/pkg-plist
+++ b/news/leafnode/pkg-plist
@@ -14,6 +14,7 @@ sbin/texpire
sbin/checkgroups
sbin/applyfilter
sbin/setup-daemontools.sh
+sbin/quickmkdir
share/doc/leafnode/ChangeLog
share/doc/leafnode/COPYING
share/doc/leafnode/CREDITS
@@ -41,5 +42,19 @@ share/doc/leafnode/doc_german/leafnode.8
share/doc/leafnode/doc_german/texpire.8
@dirrm share/doc/leafnode/doc_german
@dirrm share/doc/leafnode
-@unexec rmdir %D/lib/leafnode 2>/dev/null || true
+@comment only remove these when empty:
+@unexec rm -f %%SPOOLDIR%%/leaf.node/lock.file
+@unexec rmdir %%SPOOLDIR%%/failed.postings 2>/dev/null || :
+@unexec rmdir %%SPOOLDIR%%/failed.postings 2>/dev/null || :
+@unexec rmdir %%SPOOLDIR%%/leaf.node 2>/dev/null || :
+@unexec rmdir %%SPOOLDIR%%/message.id/* 2>/dev/null || :
+@unexec rmdir %%SPOOLDIR%%/message.id 2>/dev/null || :
+@unexec rmdir %%SPOOLDIR%%/interesting.groups 2>/dev/null || :
+@unexec rmdir %%SPOOLDIR%%/out.going 2>/dev/null || :
+@unexec rmdir %%SPOOLDIR%%/temp.files 2>/dev/null || :
+@unexec rmdir %%SPOOLDIR%% 2>/dev/null || :
+@unexec rmdir %%PREFIX%%/var/spool 2>/dev/null || :
+@unexec rmdir %%PREFIX%%/var 2>/dev/null || :
+@unexec rmdir %D/lib/leafnode 2>/dev/null || :
@dirrm etc/leafnode
+@unexec if test -d "%%SPOOLDIR%%" || test -d "%%PREFIX%%/etc/leafnode" ; then echo ; echo "==============================================================================" ; echo "If you want to remove leafnode for good," ; echo "type: rm -rf %%PREFIX%%/etc/leafnode %%SPOOLDIR%%" ; echo "==============================================================================" ; fi