diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-05-20 12:22:36 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-05-20 12:22:36 +0800 |
commit | ddd0aeb09b95b7eba84d7bccf170530f36d18297 (patch) | |
tree | 24f853f0d4709f2e07a9480b1e33f1e0b2758a16 /news | |
parent | 2adc92cc7d7f67d64206e904e9ab45ecf0786e51 (diff) | |
download | freebsd-ports-gnome-ddd0aeb09b95b7eba84d7bccf170530f36d18297.tar.gz freebsd-ports-gnome-ddd0aeb09b95b7eba84d7bccf170530f36d18297.tar.zst freebsd-ports-gnome-ddd0aeb09b95b7eba84d7bccf170530f36d18297.zip |
- Add matchting @unexec lines for serveral "@exec"
So when package is removed, disr will clean.
Problem only found in depended ports: c-nocem, nntpd, ...
- Bumped PORTREVISION
PR: 27340
Diffstat (limited to 'news')
-rw-r--r-- | news/cnews/Makefile | 1 | ||||
-rw-r--r-- | news/cnews/pkg-plist | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile index da291a167a8e..d15582dc7b7b 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -7,6 +7,7 @@ PORTNAME= cnews PORTVERSION= cr.g +PORTREVISION= 1 CATEGORIES= news MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \ ftp://ftp.funet.fi/pub/unix/news/cnews/ \ diff --git a/news/cnews/pkg-plist b/news/cnews/pkg-plist index 567562d87b83..232e516930e1 100644 --- a/news/cnews/pkg-plist +++ b/news/cnews/pkg-plist @@ -2,8 +2,14 @@ @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 +@rmdir /usr/local/newsspool/in.coming/bad +@rmdir /usr/local/newsspool/in.coming +@rmdir /usr/local/newsspool/out.going +@rmdir /usr/local/newsspool/out.master +@rmdir /usr/local/newsspool/out.nntp bin/checknews bin/cnewsdo bin/inews |