diff options
author | adrian <adrian@FreeBSD.org> | 2003-01-31 17:00:42 +0800 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2003-01-31 17:00:42 +0800 |
commit | ac440bdb539d0c62b07a65d1ed06820ef516f975 (patch) | |
tree | 8f3c0d6ac8b41d9217af820490612558b5693a90 /www/squid24 | |
parent | 12818ea12b0ffb30bb6e96a99cc7fabbca089cfc (diff) | |
download | freebsd-ports-gnome-ac440bdb539d0c62b07a65d1ed06820ef516f975.tar.gz freebsd-ports-gnome-ac440bdb539d0c62b07a65d1ed06820ef516f975.tar.zst freebsd-ports-gnome-ac440bdb539d0c62b07a65d1ed06820ef516f975.zip |
Applied patch from PR.
PR: 42747
Diffstat (limited to 'www/squid24')
-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; \ |