git: 6b71921e696d - main - news/leafnode: pkg update: @unexec->@postunexec

Matthias Andree mandree at FreeBSD.org
Thu Jul 22 09:23:31 UTC 2021


The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b71921e696d7516001908dae64c5db3fb9440da

commit 6b71921e696d7516001908dae64c5db3fb9440da
Author:     Matthias Andree <mandree at FreeBSD.org>
AuthorDate: 2021-07-22 08:56:52 +0000
Commit:     Matthias Andree <mandree at FreeBSD.org>
CommitDate: 2021-07-22 08:56:52 +0000

    news/leafnode: pkg update: @unexec->@postunexec
    
    I am not bumping PORTREVISION for now since this change makes no
    practical difference.
---
 news/leafnode/pkg-plist | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/news/leafnode/pkg-plist b/news/leafnode/pkg-plist
index 0d421b38fa5d..1104ec4a9fc4 100644
--- a/news/leafnode/pkg-plist
+++ b/news/leafnode/pkg-plist
@@ -30,7 +30,7 @@ sbin/setup-daemontools.sh
 @dir %%ETCDIR%%
 @comment only remove these when empty:
 @comment we don't want to kill the news spool across updates
- at unexec rm -f %%SPOOLDIR%%/leaf.node/lock.file
+ at postunexec rm -f %%SPOOLDIR%%/leaf.node/lock.file
 @dir %%SPOOLDIR%%/failed.postings
 @dir %%SPOOLDIR%%/interesting.groups
 @dir %%SPOOLDIR%%/leaf.node
@@ -38,4 +38,4 @@ sbin/setup-daemontools.sh
 @dir %%SPOOLDIR%%/out.going
 @dir %%SPOOLDIR%%/temp.files
 @dir %%SPOOLDIR%%
- at 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
+ at 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


More information about the dev-commits-ports-all mailing list