From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6DE0B158011 for ; Wed, 31 Aug 2022 03:50:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DAC7E0817; Wed, 31 Aug 2022 03:50:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3DCE0E0817 for ; Wed, 31 Aug 2022 03:50:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1578F341228 for ; Wed, 31 Aug 2022 03:50:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1171596 for ; Wed, 31 Aug 2022 03:50:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1661917813.1e46ca91ad9036086c17150bce6cb00ba018fdbb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/squid/squid-4.15-r3.ebuild net-proxy/squid/squid-4.17-r1.ebuild net-proxy/squid/squid-5.4.1-r2.ebuild X-VCS-Directories: net-proxy/squid/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1e46ca91ad9036086c17150bce6cb00ba018fdbb X-VCS-Branch: master Date: Wed, 31 Aug 2022 03:50:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: db510e98-92b5-4146-8b70-63dbc99daa7c X-Archives-Hash: 7504b5707e51f2ff2ca7170c292d32fa commit: 1e46ca91ad9036086c17150bce6cb00ba018fdbb Author: Sam James gentoo org> AuthorDate: Wed Aug 31 03:50:13 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 31 03:50:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e46ca91 net-proxy/squid: use Bash tests Signed-off-by: Sam James gentoo.org> net-proxy/squid/squid-4.15-r3.ebuild | 4 ++-- net-proxy/squid/squid-4.17-r1.ebuild | 4 ++-- net-proxy/squid/squid-5.4.1-r2.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net-proxy/squid/squid-4.15-r3.ebuild b/net-proxy/squid/squid-4.15-r3.ebuild index b41ec27dec43..fa02246b5aea 100644 --- a/net-proxy/squid/squid-4.15-r3.ebuild +++ b/net-proxy/squid/squid-4.15-r3.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" @@ -274,7 +274,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 } 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 } 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 }