aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2023-04-24 14:08:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2023-04-24 14:10:32 +0000
commit88574b632b172354192e93ebd6d6394844c0ec09 (patch)
treef035a5d8da3ef67011ae15511357a902da7d81e5
parent15d86bdaedab01beff4aa55c2ba5226b9d1c899f (diff)
downloadports-88574b632b172354192e93ebd6d6394844c0ec09.tar.gz
ports-88574b632b172354192e93ebd6d6394844c0ec09.zip
news/inn*: use @dir instead of home made equivalent
-rw-r--r--news/inn-current/pkg-plist3
-rw-r--r--news/inn/pkg-plist3
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)