summaryrefslogtreecommitdiffstats
path: root/security/aide
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-07-23 22:53:23 +0000
committernork <nork@FreeBSD.org>2005-07-23 22:53:23 +0000
commit6f89c8c9161ad71881e8246174b84989fe0124d1 (patch)
tree8e57392f71170cd811824eb8ff8bc1197054d400 /security/aide
parent0c27a480a571d31b26332eb06e3c83cbf7afbf95 (diff)
downloadFreeBSD-ports-6f89c8c9161ad71881e8246174b84989fe0124d1.zip
FreeBSD-ports-6f89c8c9161ad71881e8246174b84989fe0124d1.tar.gz
Don't overwrite installed aide.conf by using -f FILE
instead of -d FILE. Damaged by: ume Wept by: ume Approved by: maintainer slience
Diffstat (limited to 'security/aide')
-rw-r--r--security/aide/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/aide/Makefile b/security/aide/Makefile
index f0370c7..c976432 100644
--- a/security/aide/Makefile
+++ b/security/aide/Makefile
@@ -34,7 +34,7 @@ SUB_FILES= pkg-message
post-install:
@${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${PREFIX}/etc/aide.conf.sample
- @if [ ! -d ${PREFIX}/etc/aide.conf ]; then \
+ @if [ ! -f ${PREFIX}/etc/aide.conf ]; then \
${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${PREFIX}/etc/aide.conf ; \
fi
@if [ ! -d /var/db/aide/databases ]; then \
OpenPOWER on IntegriCloud