From 5075a92b7386209736997e0de280b10912bb507b Mon Sep 17 00:00:00 2001 From: adrian Date: Fri, 31 Jan 2003 09:02:49 +0000 Subject: Grab the patch against squid24 from a PR.. PR: 42747 --- www/squid/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'www/squid') diff --git a/www/squid/Makefile b/www/squid/Makefile index 38770314f07..ab126f4c2d7 100644 --- a/www/squid/Makefile +++ b/www/squid/Makefile @@ -121,10 +121,14 @@ post-install: strip ${PREFIX}/libexec/${file} ; \ fi .endfor - ${MKDIR} ${PREFIX}/squid/logs - ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs - ${MKDIR} ${PREFIX}/squid/cache - ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache + @if [ ! -d ${PREFIX}/squid/logs ]; then \ + ${MKDIR} ${PREFIX}/squid/logs; \ + ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \ + fi + @if [ ! -d ${PREFIX}/squid/cache ]; then \ + ${MKDIR} ${PREFIX}/squid/cache; \ + ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache; \ + fi @if [ ! -f ${PREFIX}/etc/rc.d/squid.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \ -- cgit