diff options
author | 2022-08-31 04:50:13 +0100 | |
---|---|---|
committer | 2022-08-31 04:50:13 +0100 | |
commit | 1e46ca91ad9036086c17150bce6cb00ba018fdbb (patch) | |
tree | b6b05806d40897cb8a521a58309fc1aa1d3a86a9 /net-proxy/squid/squid-5.4.1-r2.ebuild | |
parent | dev-libs/libxlsxwriter: fixes pkg-config file ver (diff) | |
download | gentoo-1e46ca91ad9036086c17150bce6cb00ba018fdbb.tar.gz gentoo-1e46ca91ad9036086c17150bce6cb00ba018fdbb.tar.bz2 gentoo-1e46ca91ad9036086c17150bce6cb00ba018fdbb.zip |
net-proxy/squid: use Bash tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-proxy/squid/squid-5.4.1-r2.ebuild')
-rw-r--r-- | net-proxy/squid/squid-5.4.1-r2.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-proxy/squid/squid-5.4.1-r2.ebuild b/net-proxy/squid/squid-5.4.1-r2.ebuild index e2ca2e516dbd..94456703bd17 100644 --- a/net-proxy/squid/squid-5.4.1-r2.ebuild +++ b/net-proxy/squid/squid-5.4.1-r2.ebuild @@ -12,7 +12,7 @@ MY_PV_MAJOR=$(ver_cut 1) # 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${MY_PV_MAJOR}/${P}.tar.xz" else SRC_URI="http://www.squid-cache.org/Versions/v${MY_PV_MAJOR}/${P}${r}.tar.bz2" @@ -278,7 +278,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 } |