@comment $FreeBSD$ bin/leafnode-version bin/newsq etc/leafnode/config.example etc/leafnode/filters.example etc/leafnode/nntp.rules.dist etc/leafnode/run.tcpd.dist etc/leafnode/run.tcpserver.dist etc/leafnode/Makefile.dist etc/leafnode/UNINSTALL-daemontools sbin/leafnode sbin/fetchnews sbin/texpire sbin/checkgroups sbin/applyfilter sbin/setup-daemontools.sh @comment only remove these when empty: @comment we don't want to kill the news spool across updates @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 %D/var/spool 2>/dev/null || : @unexec rmdir %D/var 2>/dev/null || : @unexec rmdir %D/lib/leafnode 2>/dev/null || : @dirrm etc/leafnode @unexec if test -d "%%SPOOLDIR%%" || test -d "%D/etc/leafnode" ; then echo ; echo "==============================================================================" ; echo "If you want to remove leafnode for good," ; echo "type: rm -rf %D/etc/leafnode %%SPOOLDIR%%" ; echo "==============================================================================" ; fi