summaryrefslogtreecommitdiff
path: root/community/squid
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-11 00:04:53 -0800
committerroot <root@rshg054.dnsready.net>2013-01-11 00:04:53 -0800
commit4791b75bfebdea97defe1aa27d56b9223e58f6e8 (patch)
treee89b1b8c709b887477f38aaa7cefe78d17bb5803 /community/squid
parente858862e8c8ed2f14352fe6305f64eae0e66d860 (diff)
Fri Jan 11 00:04:53 PST 2013
Diffstat (limited to 'community/squid')
-rw-r--r--community/squid/PKGBUILD6
-rw-r--r--community/squid/squid3
2 files changed, 5 insertions, 4 deletions
diff --git a/community/squid/PKGBUILD b/community/squid/PKGBUILD
index 49fbf40a9..d88935fa4 100644
--- a/community/squid/PKGBUILD
+++ b/community/squid/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 82135 2013-01-09 09:35:56Z spupykin $
+# $Id: PKGBUILD 82172 2013-01-10 09:49:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Mark Coolen <mark.coolen@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
@@ -6,7 +6,7 @@
pkgname=squid
pkgver=3.2.6
-pkgrel=1
+pkgrel=2
pkgdesc='Full-featured Web proxy cache server'
arch=('x86_64' 'i686')
url='http://www.squid-cache.org'
@@ -25,7 +25,7 @@ source=("http://www.squid-cache.org/Versions/v3/3.2/$pkgname-$pkgver.tar.bz2"
'squid.cron'
'squid.service')
md5sums=('87915ad83aebafc7af6871c770b23339'
- '02f7b5bd793f778e40834fd6457d2199'
+ 'e90895ce22c0b618c89a46a9a181fe6c'
'2383772ef94efddc7b920628bc7ac5b0'
'270977cdd9b47ef44c0c427ab9034777'
'b499c2b725aefd7bd60bec2f1a9de392'
diff --git a/community/squid/squid b/community/squid/squid
index da5534427..ea80aaa2e 100644
--- a/community/squid/squid
+++ b/community/squid/squid
@@ -8,8 +8,9 @@
pidfile=/run/squid.pid
{ read -r PID </run/squid.pid; } 2>/dev/null
-if [[ $pid && ! /proc/$pid/exe -ef /usr/sbin/squid ]]; then
+if [[ $PID && ! /proc/$PID/exe -ef /usr/sbin/squid ]]; then
rm /run/squid.pid
+ unset PID
fi
case $1 in