diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-20 22:27:12 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-20 22:27:12 +0000 |
commit | c7ce6ff43e4c762904be72db1cf35e261a923bb4 (patch) | |
tree | c5a18bb693b7c49ee11565de48a26cc8e331b0e1 /www/hydra/pkg-plist | |
parent | 073868564484435f1f44f2f03a9ca8840a231403 (diff) | |
download | ports-c7ce6ff43e4c762904be72db1cf35e261a923bb4.tar.gz ports-c7ce6ff43e4c762904be72db1cf35e261a923bb4.zip |
Notes
Diffstat (limited to 'www/hydra/pkg-plist')
-rw-r--r-- | www/hydra/pkg-plist | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/hydra/pkg-plist b/www/hydra/pkg-plist index 8c2f92106481..31bfeac1a305 100644 --- a/www/hydra/pkg-plist +++ b/www/hydra/pkg-plist @@ -1,6 +1,10 @@ bin/hydra bin/boa_indexer bin/webindex.pl -etc/hydra/hydra.conf -etc/hydra/mime.types -@dirrm etc/hydra +@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" |