From 21d744075f349bdad6b0837414d67545dd993694 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 9 Sep 2007 08:12:58 +0000 Subject: Only fix the suexec permissions if the file exists. --- www/apache22/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www') diff --git a/www/apache22/Makefile b/www/apache22/Makefile index 9eb22aad214..57b758dc674 100644 --- a/www/apache22/Makefile +++ b/www/apache22/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/09/08 18:48:18 rillig Exp $ +# $NetBSD: Makefile,v 1.20 2007/09/09 08:12:58 rillig Exp $ .include "Makefile.common" @@ -264,6 +264,6 @@ post-install: ${CHOWN} ${MANOWN}:${MANGRP} ${PREFIX}/${PKGMANDIR}/$$file; \ done - ${CHMOD} -w ${PREFIX}/sbin/suexec + [ ! -f ${PREFIX}/sbin/suexec ] || ${CHMOD} -w ${PREFIX}/sbin/suexec .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3