diff options
author | mm <mm@FreeBSD.org> | 2007-08-13 19:16:24 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-08-13 19:16:24 +0800 |
commit | 2eed235415fc2f08705fc04f960de73e52f90439 (patch) | |
tree | 8268cb75e958d2f031fff297cebe9142f1c72ff5 /www/lynx/pkg-plist | |
parent | d8f2c2ee39b845a85738a6434e64699f9875aa05 (diff) | |
download | freebsd-ports-graphics-2eed235415fc2f08705fc04f960de73e52f90439.tar.gz freebsd-ports-graphics-2eed235415fc2f08705fc04f960de73e52f90439.tar.zst freebsd-ports-graphics-2eed235415fc2f08705fc04f960de73e52f90439.zip |
- Introduce lynx.cfg.sample and lynx.lss.sample
- Do not delete/overwrite lynx.lss if changed
PR: ports/112863
Patch by: mm
Approved by: maintainer (timeout), garga (mentor, implicit)
Diffstat (limited to 'www/lynx/pkg-plist')
-rw-r--r-- | www/lynx/pkg-plist | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/lynx/pkg-plist b/www/lynx/pkg-plist index 7dbf46dd443..f793633e82c 100644 --- a/www/lynx/pkg-plist +++ b/www/lynx/pkg-plist @@ -1,8 +1,10 @@ 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 +@unexec if [ -f %D/etc/lynx.cfg ] && cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.sample; then rm -f %D/etc/lynx.cfg; fi +etc/lynx.cfg.sample @exec if [ ! -f %D/etc/lynx.cfg ] ; then cp -p %D/%F %B/lynx.cfg; fi -etc/lynx.lss +@unexec if [ -f %D/etc/lynx.lss ] && cmp -s %D/etc/lynx.lss %D/etc/lynx.lss.sample; then rm -f %D/etc/lynx.lss; fi +etc/lynx.lss.sample +@exec if [ ! -f %D/etc/lynx.lss ] ; then cp -p %D/%F %B/lynx.lss; fi @exec mkdir -p %D/share/lynx_help %%DOCSDIR%%/CHANGES %%DOCSDIR%%/COPYHEADER |