diff options
Diffstat (limited to 'news/nn/pkg-plist')
-rw-r--r-- | news/nn/pkg-plist | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/news/nn/pkg-plist b/news/nn/pkg-plist index 382283022e1a..dcff0687e2af 100644 --- a/news/nn/pkg-plist +++ b/news/nn/pkg-plist @@ -11,8 +11,12 @@ bin/nntidy bin/nnusage bin/nnview bin/nn-inews -etc/nntp_domain -etc/nntp_server +@unexec if cmp -s %D/etc/nntp_domain %D/etc/nntp_domain.dist; then rm -f %D/etc/nntp_domain; fi +etc/nntp_domain.dist +@exec [ -f %B/nntp_domain ] || cp %B/%f %B/nntp_domain +@unexec if cmp -s %D/etc/nntp_server %D/etc/nntp_server.dist; then rm -f %D/etc/nntp_server; fi +etc/nntp_server.dist +@exec [ -f %B/nntp_server ] || cp %B/%f %B/nntp_server lib/nn/aux lib/nn/conf lib/nn/help/Manual |