Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2023 14:20:50 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 88574b632b17 - main - news/inn*: use @dir instead of home made equivalent
Message-ID:  <202304241420.33OEKoJs045999@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=88574b632b172354192e93ebd6d6394844c0ec09

commit 88574b632b172354192e93ebd6d6394844c0ec09
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-04-24 14:08:42 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-04-24 14:10:32 +0000

    news/inn*: use @dir instead of home made equivalent
---
 news/inn-current/pkg-plist | 3 +--
 news/inn/pkg-plist         | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/news/inn-current/pkg-plist b/news/inn-current/pkg-plist
index bbb506752826..5ed494a2428c 100644
--- a/news/inn-current/pkg-plist
+++ b/news/inn-current/pkg-plist
@@ -1,6 +1,6 @@
 @owner news
 @group news
-@preexec mkdir -p %%NEWSBASE%%
+@dir %%NEWSBASE%%
 %%CWDNEWSBASE%%
 bin/actmerge
 bin/actsync
@@ -404,4 +404,3 @@ man/man8/writelog.8.gz
 @dir %%DBDIR%%
 @dir %%LOGDIR%%/OLD
 @dir %%LOGDIR%%
-@postunexec rmdir %%NEWSBASE%% 2>/dev/null ||( echo "===>  If you don't plan to use inn later, you can safely remove %%NEWSBASE%%. Deinstall process kept these files intact:" | fmt && for i in $(find %D/news -type f); do echo "    - $i"; done)
diff --git a/news/inn/pkg-plist b/news/inn/pkg-plist
index 52753770e4cc..bb902f275c2d 100644
--- a/news/inn/pkg-plist
+++ b/news/inn/pkg-plist
@@ -1,6 +1,6 @@
 @owner news
 @group news
-@preexec mkdir -p %%NEWSBASE%%
+@dir %%NEWSBASE%%
 %%CWDNEWSBASE%%
 bin/actmerge
 bin/actsync
@@ -402,4 +402,3 @@ man/man8/writelog.8.gz
 @dir %%DBDIR%%
 @dir %%LOGDIR%%/OLD
 @dir %%LOGDIR%%
-@postunexec rmdir %%NEWSBASE%% 2>/dev/null ||( echo "===>  If you don't plan to use inn later, you can safely remove %%NEWSBASE%%. Deinstall process kept these files intact:" | fmt && for i in $(find %D/news -type f); do echo "    - $i"; done)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304241420.33OEKoJs045999>