mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
c7ce6ff43e
- Do not overwrite config files PR: 59490 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
11 lines
538 B
Plaintext
11 lines
538 B
Plaintext
bin/hydra
|
|
bin/boa_indexer
|
|
bin/webindex.pl
|
|
@unexec if cmp -s %D/etc/hydra/hydra.conf %D/etc/hydra/hydra.conf-dist; then rm -f %D/etc/hydra/hydra.conf; fi
|
|
etc/hydra/hydra.conf-dist
|
|
@exec [ -f %B/hydra.conf ] || cp %B/%f %B/hydra.conf
|
|
@unexec if cmp -s %D/etc/hydra/mime.types %D/etc/hydra/mime.types-dist; then rm -f %D/etc/hydra/mime.types; fi
|
|
etc/hydra/mime.types-dist
|
|
@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types
|
|
@unexec rmdir %D/etc/hydra 2> /dev/null || echo "Dont forget to remove %D/etc/hydra if you won't use hydra anymore"
|