From 0f49a00b94815b73aa5bed3bd0016df9c6dbbce4 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 22 Dec 2006 08:51:41 +0000 Subject: - Fix post installment for configuration files. (if not exists...) - Bump PORTREVISION PR: ports/107080 Submitted by: Robin Gruyters (maintainer) --- security/prelude-lml/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'security/prelude-lml') diff --git a/security/prelude-lml/Makefile b/security/prelude-lml/Makefile index de7b1288e7cc..5224d56e8435 100644 --- a/security/prelude-lml/Makefile +++ b/security/prelude-lml/Makefile @@ -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 -- cgit v1.2.3