freebsd-ports/net-p2p/torrentflux/pkg-plist
Edwin Groothuis 508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00

11 lines
371 B
Plaintext

@comment $FreeBSD$
@unexec if cmp -s %D/etc/tfconfig.php %D/etc/tfconfig.php.default; then rm -f %D/etc/tfconfig.php; fi
etc/tfconfig.php.default
@exec [ -f %B/tfconfig.php ] || cp %B/%f %B/tfconfig.php
etc/rc.d/torrentflux.sh
libexec/btphptornado.py
%%DATADIR%%/torrentflux.sqlite
@dirrmtry %%DATADIR%%
%%PORTDOCS%%%%DOCSDIR%%/install.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%