summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/squid/squid-4.17-r1.ebuild')
-rw-r--r--net-proxy/squid/squid-4.17-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-proxy/squid/squid-4.17-r1.ebuild b/net-proxy/squid/squid-4.17-r1.ebuild
index e3ab95c2f679..106d72f54d7e 100644
--- a/net-proxy/squid/squid-4.17-r1.ebuild
+++ b/net-proxy/squid/squid-4.17-r1.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://www.squid-cache.org/"
# Upstream patch ID for the most recent bug-fixed update to the formal release.
r=
#r=-20181117-r0022167
-if [ -z "$r" ]; then
+if [[ -z "${r}" ]]; then
SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}.tar.xz"
else
SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}${r}.tar.bz2"
@@ -276,7 +276,7 @@ src_install() {
pkg_postinst() {
elog "A good starting point to debug Squid issues is to use 'squidclient mgr:' commands such as 'squidclient mgr:info'."
- if [ ${#r} -gt 0 ]; then
+ if [[ ${#r} -gt 0 ]]; then
elog "You are using a release with the official ${r} patch! Make sure you mention that, or send the output of 'squidclient mgr:info' when asking for support."
fi
}