summaryrefslogtreecommitdiff
path: root/www/lynx
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-06-01 08:53:29 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-06-01 08:53:29 +0000
commitb29294f8ad25d26af8b881f40d08ac55a5a0d8cf (patch)
tree84a63790e1626687f875feb786441934291d617c /www/lynx
parentAdd bin/gemtopbm. (diff)
Remove lynx.cfg iff it is identical to lynx.cfg.default.
Found by: bento
Notes
Notes: svn path=/head/; revision=29038
Diffstat (limited to 'www/lynx')
-rw-r--r--www/lynx/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/lynx/pkg-plist b/www/lynx/pkg-plist
index a99b77cf34c6..2ecc8bb601d5 100644
--- a/www/lynx/pkg-plist
+++ b/www/lynx/pkg-plist
@@ -1,4 +1,5 @@
bin/lynx
+@unexec if [ -f %D/etc/lynx.cfg ] && cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.default; then rm -f %D/etc/lynx.cfg; fi
etc/lynx.cfg.default
@exec if [ ! -f %D/etc/lynx.cfg ] ; then cp -p %D/%F %B/lynx.cfg; fi
@exec mkdir -p %D/share/lynx_help