diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2003-01-31 09:00:42 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2003-01-31 09:00:42 +0000 |
commit | 65c536853453971e95aa324425fd4dfbbfc59928 (patch) | |
tree | 8f51da56bfa3218e94b84349a4b52c3a1a401856 /www | |
parent | Use the updated --enable-removal-policies option (diff) |
Applied patch from PR.
PR: 42747
Notes
Notes:
svn path=/head/; revision=74339
Diffstat (limited to '')
-rw-r--r-- | www/squid24/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/www/squid24/Makefile b/www/squid24/Makefile index a4b2b2f07b93..dc88b9cf442f 100644 --- a/www/squid24/Makefile +++ b/www/squid24/Makefile @@ -117,10 +117,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; \ |