diff options
author | nork <nork@FreeBSD.org> | 2005-07-24 06:53:23 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2005-07-24 06:53:23 +0800 |
commit | 6f89c8c9161ad71881e8246174b84989fe0124d1 (patch) | |
tree | 8e57392f71170cd811824eb8ff8bc1197054d400 /security | |
parent | 0c27a480a571d31b26332eb06e3c83cbf7afbf95 (diff) | |
download | freebsd-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/Makefile | 2 |
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 \ |