diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-05-26 23:29:12 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-05-26 23:29:12 +0800 |
commit | 031a3f929d500afeac7e9fd78b8b8fe6c7c434f5 (patch) | |
tree | eada58215973fe5c8b4a4393a20e904a452c5ea6 /news | |
parent | 99a1ba5542358487b7a15ef87b98fe5913f59a8f (diff) | |
download | freebsd-ports-gnome-031a3f929d500afeac7e9fd78b8b8fe6c7c434f5.tar.gz freebsd-ports-gnome-031a3f929d500afeac7e9fd78b8b8fe6c7c434f5.tar.zst freebsd-ports-gnome-031a3f929d500afeac7e9fd78b8b8fe6c7c434f5.zip |
- Change path in pkg-plist, using %D instead of absoulte names
Diffstat (limited to 'news')
-rw-r--r-- | news/cnews/pkg-plist | 19 |
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 |