aboutsummaryrefslogtreecommitdiff
path: root/net/jwhois/pkg-plist
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-22 10:10:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-22 10:10:05 +0000
commit7c0d215faf1827a85b8280eb1d84a085110bd6be (patch)
treed6e689cd85254749a24a46270f5762eee718ca3c /net/jwhois/pkg-plist
parent42b4feb8a8dc887d2cabff9a0503997153a5b632 (diff)
Notes
Diffstat (limited to 'net/jwhois/pkg-plist')
-rw-r--r--net/jwhois/pkg-plist5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/jwhois/pkg-plist b/net/jwhois/pkg-plist
index 5f69e9a7d830..880923741bba 100644
--- a/net/jwhois/pkg-plist
+++ b/net/jwhois/pkg-plist
@@ -1,8 +1,11 @@
bin/jwhois
-etc/jwhois.conf
+@unexec if cmp -s %D/etc/jwhois.conf %D/etc/jwhois.conf.sample; then rm -f %D/etc/jwhois.conf; fi
+etc/jwhois.conf.sample
+@exec [ ! -f %B/jwhois.conf ] && cp %B/%f %B/jwhois.conf
@unexec install-info --delete %D/info/jwhois.info %D/info/dir
info/jwhois.info
@exec install-info %D/info/jwhois.info %D/info/dir
+share/locale/ru/LC_MESSAGES/jwhois.mo
share/locale/sv/LC_MESSAGES/jwhois.mo
@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/* 2>/dev/null || true