1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/sysutils/logtool-devel/pkg-plist
Ying-Chieh Liao 152af61e11 better etc file management
Submitted by:	olgeni
2001-06-17 17:34:34 +00:00

26 lines
1.3 KiB
Plaintext

bin/logtool
bin/logtail
@unexec if cmp -s %D/etc/logtool/exclude %D/etc/logtool/exclude.dist; then rm -f %D/etc/logtool/exclude; fi
etc/logtool/exclude.dist
@exec [ -f %B/exclude ] || cp %B/%f %B/exclude
@unexec if cmp -s %D/etc/logtool/green %D/etc/logtool/green.dist; then rm -f %D/etc/logtool/green; fi
etc/logtool/green.dist
@exec [ -f %B/green ] || cp %B/%f %B/green
@unexec if cmp -s %D/etc/logtool/include %D/etc/logtool/include.dist; then rm -f %D/etc/logtool/include; fi
etc/logtool/include.dist
@exec [ -f %B/include ] || cp %B/%f %B/include
@unexec if cmp -s %D/etc/logtool/logtool.conf %D/etc/logtool/logtool.conf.dist; then rm -f %D/etc/logtool/logtool.conf; fi
etc/logtool/logtool.conf.dist
@exec [ -f %B/logtool.conf ] || cp %B/%f %B/logtool.conf
@unexec if cmp -s %D/etc/logtool/yellow %D/etc/logtool/yellow.dist; then rm -f %D/etc/logtool/yellow; fi
etc/logtool/yellow.dist
@exec [ -f %B/yellow ] || cp %B/%f %B/yellow
@unexec rmdir %D/etc/logtool 2>/dev/null || true
%%PORTDOCS%%share/doc/logtool/examples/README
%%PORTDOCS%%share/doc/logtool/examples/cronjob.genwebpage.sh
%%PORTDOCS%%share/doc/logtool/examples/cronjob.emailreport.sh
%%PORTDOCS%%share/doc/logtool/examples/monitor.logs.sh
%%PORTDOCS%%share/doc/logtool/logtool.txt
%%PORTDOCS%%@dirrm share/doc/logtool/examples
%%PORTDOCS%%@dirrm share/doc/logtool