summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-09-15 01:26:51 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-09-15 01:26:51 +0000
commit954fedae3b763beeb69c97586044b8a92db176c9 (patch)
treeaf89df2d606395013eb31219bb4f06f547a0a8ae /net-www/squid
parentnew applets (diff)
downloadgentoo-2-954fedae3b763beeb69c97586044b8a92db176c9.tar.gz
gentoo-2-954fedae3b763beeb69c97586044b8a92db176c9.tar.bz2
gentoo-2-954fedae3b763beeb69c97586044b8a92db176c9.zip
removed hard dependency on /var/cache/squid
Diffstat (limited to 'net-www/squid')
-rw-r--r--net-www/squid/ChangeLog7
-rw-r--r--net-www/squid/files/squid.rc64
2 files changed, 7 insertions, 4 deletions
diff --git a/net-www/squid/ChangeLog b/net-www/squid/ChangeLog
index 5df9569e9a2f..97adc7152c9e 100644
--- a/net-www/squid/ChangeLog
+++ b/net-www/squid/ChangeLog
@@ -1,10 +1,13 @@
# ChangeLog for net-www/squid
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-www/squid/ChangeLog,v 1.6 2002/07/12 12:40:18 blocke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/squid/ChangeLog,v 1.7 2002/09/15 01:26:51 blizzy Exp $
+
+ 15 Sep 2002; Maik Schreiber <blizzy@gentoo.org> files/squid.rc6: Removed
+ hard dependency on /var/cache/squid.
*squid-2.4.7 (12 Jul 2002)
- 12 Jul 2002; Bruce A. Locke <blocke@shivan.org>:
+ 12 Jul 2002; Bruce A. Locke <blocke@shivan.org> :
Version bump and added KEYWORDS
diff --git a/net-www/squid/files/squid.rc6 b/net-www/squid/files/squid.rc6
index e69d363e9b73..e4075a6ace41 100644
--- a/net-www/squid/files/squid.rc6
+++ b/net-www/squid/files/squid.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-www/squid/files/squid.rc6,v 1.5 2002/03/21 01:23:36 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/squid/files/squid.rc6,v 1.6 2002/09/15 01:26:51 blizzy Exp $
depend() {
need net
@@ -29,10 +29,10 @@ checkconfig() {
grep cache_dir | awk '{ print $3 }'`
[ -z "$CACHE_SWAP" ] && CACHE_SWAP=/var/cache/squid
umask 027
- cd /var/cache/squid
for x in $CACHE_SWAP ; do
if [ ! -d $x/00 ] ; then
einfo "Initializing cache directory: $x"
+ cd $x
/usr/sbin/squid -z -F 2>/dev/null
if [ $? -ne 0 ] ; then
eerror "Error initializing: $x"