summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2005-07-23 22:53:23 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2005-07-23 22:53:23 +0000
commit0d841e0dd73b48f5b2538ac7dc9b2ab91e70bdf2 (patch)
tree20f93cb688e51be4a2b30aba8947e085c6e454f4
parentUpdate to 2.2.5. (diff)
Don't overwrite installed aide.conf by using -f FILE
instead of -d FILE. Damaged by: ume Wept by: ume Approved by: maintainer slience
Notes
Notes: svn path=/head/; revision=139988
-rw-r--r--security/aide/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/aide/Makefile b/security/aide/Makefile
index f0370c7d2fe0..c976432fa29a 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 \