diff options
author | rillig <rillig@pkgsrc.org> | 2007-09-09 08:12:58 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-09-09 08:12:58 +0000 |
commit | 21d744075f349bdad6b0837414d67545dd993694 (patch) | |
tree | 58e6673e4266361caddb8544a91f572a35c8a253 /www/apache22 | |
parent | 3702f2b4c77705dd6f487262e28cbe24ac655e63 (diff) | |
download | pkgsrc-21d744075f349bdad6b0837414d67545dd993694.tar.gz |
Only fix the suexec permissions if the file exists.
Diffstat (limited to 'www/apache22')
-rw-r--r-- | www/apache22/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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" |