- Fix post installment for configuration files. (if not exists...)
- Bump PORTREVISION PR: ports/107080 Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> (maintainer)
This commit is contained in:
parent
9cfcf34128
commit
0f49a00b94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180466
1 changed files with 3 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
PORTNAME= prelude-lml
|
||||
PORTVERSION= 0.9.8.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
|
||||
http://www.prelude-ids.org/download/releases/old/
|
||||
|
@ -34,11 +35,11 @@ CONFIGURE_ARGS+= --disable-fam
|
|||
.endif
|
||||
|
||||
post-install:
|
||||
@if [ -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \
|
||||
@if [ ! -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \
|
||||
${CP} -p ${PREFIX}/etc/prelude-lml/prelude-lml.conf-dist \
|
||||
${PREFIX}/etc/prelude-lml/prelude-lml.conf ; \
|
||||
fi
|
||||
@if [ -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \
|
||||
@if [ ! -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \
|
||||
${CP} -p ${PREFIX}/etc/prelude-lml/plugins.rules-dist \
|
||||
${PREFIX}/etc/prelude-lml/plugins.rules ; \
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue