Skip to content

Commit

Permalink
news/leafnode: pkg update: @unexec->@postunexec
Browse files Browse the repository at this point in the history
I am not bumping PORTREVISION for now since this change makes no
practical difference.
  • Loading branch information
mandree committed Jul 22, 2021
1 parent 17db9a3 commit 6b71921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions news/leafnode/pkg-plist
Expand Up @@ -30,12 +30,12 @@ sbin/setup-daemontools.sh
@dir %%ETCDIR%%
@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
@postunexec rm -f %%SPOOLDIR%%/leaf.node/lock.file
@dir %%SPOOLDIR%%/failed.postings
@dir %%SPOOLDIR%%/interesting.groups
@dir %%SPOOLDIR%%/leaf.node
@dir %%SPOOLDIR%%/message.id
@dir %%SPOOLDIR%%/out.going
@dir %%SPOOLDIR%%/temp.files
@dir %%SPOOLDIR%%
@unexec if test -d "%%SPOOLDIR%%" || test -d "%D/etc/leafnode" ; then echo ; echo "==============================================================================" ; echo "If you want to remove leafnode for good, delete spool and configuration:" ; echo "type: rm -rf %D/etc/leafnode %%SPOOLDIR%%" ; echo "==============================================================================" ; fi
@postunexec if test -d "%%SPOOLDIR%%" || test -d "%D/etc/leafnode" ; then echo ; echo "==============================================================================" ; echo "If you want to remove leafnode for good, delete spool and configuration:" ; echo "type: rm -rf %D/etc/leafnode %%SPOOLDIR%%" ; echo "==============================================================================" ; fi

0 comments on commit 6b71921

Please sign in to comment.