diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2003-01-31 09:02:49 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2003-01-31 09:02:49 +0000 |
commit | 2314294cfdf6f0e974dbebc65dfeabdd493fb927 (patch) | |
tree | 1dd215003a71691ea3ad9f6ad13ae6c0e77717a3 /www/squid30 | |
parent | 65c536853453971e95aa324425fd4dfbbfc59928 (diff) | |
download | ports-2314294cfdf6f0e974dbebc65dfeabdd493fb927.tar.gz ports-2314294cfdf6f0e974dbebc65dfeabdd493fb927.zip |
Notes
Diffstat (limited to 'www/squid30')
-rw-r--r-- | www/squid30/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/www/squid30/Makefile b/www/squid30/Makefile index 38770314f07b..ab126f4c2d78 100644 --- a/www/squid30/Makefile +++ b/www/squid30/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; \ |