aboutsummaryrefslogtreecommitdiff
path: root/security/aide/Makefile
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 /security/aide/Makefile
parent71ef1c8557d3955312619d14ed527987b16343bc (diff)
downloadports-0d841e0dd73b48f5b2538ac7dc9b2ab91e70bdf2.tar.gz
ports-0d841e0dd73b48f5b2538ac7dc9b2ab91e70bdf2.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
Notes
Notes: svn path=/head/; revision=139988
Diffstat (limited to 'security/aide/Makefile')
-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 \