aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-07-24 06:53:23 +0800
committernork <nork@FreeBSD.org>2005-07-24 06:53:23 +0800
commit6f89c8c9161ad71881e8246174b84989fe0124d1 (patch)
tree8e57392f71170cd811824eb8ff8bc1197054d400 /security
parent0c27a480a571d31b26332eb06e3c83cbf7afbf95 (diff)
downloadfreebsd-ports-graphics-6f89c8c9161ad71881e8246174b84989fe0124d1.tar.gz
freebsd-ports-graphics-6f89c8c9161ad71881e8246174b84989fe0124d1.tar.zst
freebsd-ports-graphics-6f89c8c9161ad71881e8246174b84989fe0124d1.zip
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')
-rw-r--r--security/aide/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/aide/Makefile b/security/aide/Makefile
index f0370c7d2fe..c976432fa29 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 \