From 6f89c8c9161ad71881e8246174b84989fe0124d1 Mon Sep 17 00:00:00 2001 From: nork Date: Sat, 23 Jul 2005 22:53:23 +0000 Subject: Don't overwrite installed aide.conf by using -f FILE instead of -d FILE. Damaged by: ume Wept by: ume Approved by: maintainer slience --- security/aide/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'security') 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 \ -- cgit