aboutsummaryrefslogtreecommitdiff
path: root/news/cnews
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-05-26 15:29:12 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-05-26 15:29:12 +0000
commit730d5de2766d2fda6b464f9d41721790e5b6e5c4 (patch)
tree3fd93c35d8c33adb9318f79a45b2ff230c93b5a8 /news/cnews
parent1211c83571bd90c16cebf8047c8727e5055ed771 (diff)
downloadports-730d5de2766d2fda6b464f9d41721790e5b6e5c4.tar.gz
ports-730d5de2766d2fda6b464f9d41721790e5b6e5c4.zip
Notes
Diffstat (limited to 'news/cnews')
-rw-r--r--news/cnews/pkg-plist19
1 files changed, 10 insertions, 9 deletions
diff --git a/news/cnews/pkg-plist b/news/cnews/pkg-plist
index 18a526b2d662..95b16ee83721 100644
--- a/news/cnews/pkg-plist
+++ b/news/cnews/pkg-plist
@@ -1,15 +1,16 @@
@comment Package is not complete without minimal /var/news installation :-(
@comment Basically just in.* and out.* /var/news might be a symbolic link
@comment and it might not exist yet :-(
-@exec ln -sf /usr/local/newsspool /var/news
-@unexec rm -f /usr/local/newsspool
-@exec mkdir -p /usr/local/newsspool/in.coming/bad
-@exec cd /usr/local/newsspool; mkdir -p out.going out.master out.nntp
-@dirrm /usr/local/newsspool/in.coming/bad
-@dirrm /usr/local/newsspool/in.coming
-@dirrm /usr/local/newsspool/out.going
-@dirrm /usr/local/newsspool/out.master
-@dirrm /usr/local/newsspool/out.nntp
+@exec ln -sf %D/newsspool /var/news
+@exec mkdir -p %D/newsspool/in.coming/bad
+@exec cd %D/newsspool; mkdir -p out.going out.master out.nntp
+@dirrm newsspool/in.coming/bad
+@dirrm newsspool/in.coming
+@dirrm newsspool/out.going
+@dirrm newsspool/out.master
+@dirrm newsspool/out.nntp
+@unexec if [ -h %D/newsspool ]; then rm -f %D/newsspool; fi
+@unexec if [ -d %D/newsspool ]; then rmdir %D/newsspool; fi
bin/checknews
bin/cnewsdo
bin/inews