public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/
Date: Wed, 31 Aug 2022 03:50:50 +0000 (UTC)	[thread overview]
Message-ID: <1661917813.1e46ca91ad9036086c17150bce6cb00ba018fdbb.sam@gentoo> (raw)

commit:     1e46ca91ad9036086c17150bce6cb00ba018fdbb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 31 03:50:13 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
 }


             reply	other threads:[~2022-08-31  3:50 UTC|newest]

Thread overview: 164+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31  3:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07  2:40 [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/ Sam James
2024-10-06 18:44 Arthur Zamarin
2024-08-31  7:46 Sam James
2024-07-04  0:49 Sam James
2024-07-03 13:26 Joonas Niilola
2024-03-04  7:53 Joonas Niilola
2024-02-06 20:10 Sam James
2024-02-06 19:32 Arthur Zamarin
2024-02-06 19:32 Arthur Zamarin
2024-02-06 10:00 Sam James
2024-02-06  9:45 Sam James
2024-02-06  9:45 Sam James
2024-02-06  9:45 Sam James
2023-12-03  9:33 Arthur Zamarin
2023-12-02 21:25 Sam James
2023-12-02 20:28 Sam James
2023-11-17 15:09 Sam James
2023-11-17 15:08 Sam James
2023-06-17  5:42 Sam James
2023-05-16  3:39 Sam James
2023-01-16 20:29 Mike Gilbert
2023-01-15 12:44 Sam James
2023-01-15 12:44 Sam James
2023-01-15  7:51 Joonas Niilola
2023-01-15  2:22 Sam James
2023-01-14 18:59 Sam James
2022-12-15  5:01 Sam James
2022-12-15  5:01 Sam James
2022-09-30  3:13 Sam James
2022-09-30  3:11 Sam James
2022-09-29  2:15 Sam James
2022-05-08 11:24 Yixun Lan
2022-05-05 16:48 Jakov Smolić
2022-03-23 10:35 Agostino Sarubbo
2022-03-22 16:40 Sam James
2022-03-22 11:24 Agostino Sarubbo
2022-02-20  0:31 Sam James
2022-01-04 13:18 David Seifert
2022-01-04  9:13 David Seifert
2022-01-04  3:29 Sam James
2022-01-01 20:08 David Seifert
2021-11-14 12:39 Mikle Kolyada
2021-06-22 18:19 Sam James
2021-05-17  8:04 Mikle Kolyada
2021-05-17  8:04 Mikle Kolyada
2021-03-13 19:57 Mikle Kolyada
2021-03-07 15:18 Mikle Kolyada
2021-03-07 10:35 Mikle Kolyada
2021-01-24 11:28 Mikle Kolyada
2020-08-27 19:43 Mikle Kolyada
2020-08-27 19:43 Mikle Kolyada
2020-07-17 10:42 Sam James
2020-06-28 20:48 Agostino Sarubbo
2020-06-28 20:44 Agostino Sarubbo
2020-06-28 20:37 Agostino Sarubbo
2020-06-28 20:30 Agostino Sarubbo
2020-06-28 20:27 Agostino Sarubbo
2020-06-20  8:14 Mikle Kolyada
2020-05-20 12:20 Mikle Kolyada
2020-05-20  6:24 Agostino Sarubbo
2020-05-18 13:43 Mikle Kolyada
2020-04-26 15:31 Agostino Sarubbo
2020-04-26 15:29 Agostino Sarubbo
2020-04-26 14:19 Agostino Sarubbo
2020-04-26 14:16 Agostino Sarubbo
2020-04-24 10:53 Mikle Kolyada
2020-03-16  7:08 Mikle Kolyada
2020-03-16  7:07 Mikle Kolyada
2020-03-15 18:34 Agostino Sarubbo
2020-03-15 18:27 Agostino Sarubbo
2020-03-14 19:46 Agostino Sarubbo
2020-03-14 19:24 Sergei Trofimovich
2020-01-27 19:07 Mikle Kolyada
2020-01-27 18:57 Mikle Kolyada
2020-01-27 16:19 Mikle Kolyada
2019-12-31  9:28 Mikle Kolyada
2019-11-10 15:27 Michał Górny
2019-11-10  9:24 Mikle Kolyada
2019-11-10  9:24 Mikle Kolyada
2019-10-12 20:34 Mikle Kolyada
2019-07-25 12:58 Mikle Kolyada
2019-07-17 10:48 Mikle Kolyada
2019-07-17 10:47 Mikle Kolyada
2019-05-03 12:35 Mikle Kolyada
2019-03-28 18:34 Mikle Kolyada
2019-02-07 10:01 Mikle Kolyada
2019-02-04  6:02 Eray Aslan
2018-08-29  6:05 Eray Aslan
2018-06-22 22:17 Patrice Clement
2018-06-19 16:14 Eray Aslan
2018-03-30 17:32 Sergei Trofimovich
2018-03-30 12:03 Sergei Trofimovich
2018-03-04 16:23 Tobias Klausmann
2018-02-06  7:57 Sergei Trofimovich
2018-02-05 22:34 Sergei Trofimovich
2018-02-05 21:27 Markus Meier
2018-01-26 18:21 Thomas Deutschmann
2018-01-23 16:41 Agostino Sarubbo
2018-01-22 13:31 Eray Aslan
2018-01-09 20:10 Mike Frysinger
2018-01-05  7:32 Mike Frysinger
2017-11-20 10:08 Eray Aslan
2017-11-20  8:12 Eray Aslan
2017-11-15 22:42 Sergei Trofimovich
2017-11-07 22:52 Sergei Trofimovich
2017-10-05 11:07 Sergei Trofimovich
2017-10-05 11:07 Sergei Trofimovich
2017-09-15 15:38 Tobias Klausmann
2017-08-29 21:39 Thomas Deutschmann
2017-08-28  4:42 Markus Meier
2017-08-25 13:34 Mikle Kolyada
2017-08-17 20:18 Sergei Trofimovich
2017-08-17  5:46 Eray Aslan
2017-05-04  7:20 Eray Aslan
2017-02-07 13:07 Eray Aslan
2017-01-31  7:56 Eray Aslan
2017-01-14 12:54 Jeroen Roovers
2017-01-05 12:34 Tobias Klausmann
2016-12-27  9:06 Agostino Sarubbo
2016-12-25 10:23 Agostino Sarubbo
2016-12-25 10:14 Agostino Sarubbo
2016-12-25 10:09 Agostino Sarubbo
2016-12-24 10:25 Agostino Sarubbo
2016-12-24 10:18 Agostino Sarubbo
2016-12-24  9:47 Agostino Sarubbo
2016-12-22 12:18 Eray Aslan
2016-10-14 10:38 Eray Aslan
2016-10-14 10:38 Eray Aslan
2016-10-09 16:19 Pacho Ramos
2016-09-19  7:50 Eray Aslan
2016-07-12 13:49 Eray Aslan
2016-07-08  7:53 Agostino Sarubbo
2016-06-04  5:05 Markus Meier
2016-05-25 11:25 Agostino Sarubbo
2016-05-25  9:48 Agostino Sarubbo
2016-05-25  5:12 Jeroen Roovers
2016-05-24  8:51 Tobias Klausmann
2016-05-24  6:56 Eray Aslan
2016-05-20 16:37 Tobias Klausmann
2016-04-26 17:34 Markus Meier
2016-04-26 11:19 Agostino Sarubbo
2016-04-23 10:19 Jeroen Roovers
2016-04-20 19:10 Eray Aslan
2016-04-20  8:55 Agostino Sarubbo
2016-04-04  7:46 Eray Aslan
2016-03-15 20:50 Tobias Klausmann
2016-03-15 16:38 Agostino Sarubbo
2016-03-13 12:32 Markus Meier
2016-03-02 13:58 Agostino Sarubbo
2016-02-27  9:09 Jeroen Roovers
2016-02-24 14:23 Eray Aslan
2016-02-20 11:56 Jeroen Roovers
2016-02-17  5:56 Eray Aslan
2016-02-16 12:31 Eray Aslan
2016-02-05 19:08 Markus Meier
2016-02-04  9:45 Tobias Klausmann
2016-01-27  9:22 Agostino Sarubbo
2016-01-22 15:58 Eray Aslan
2016-01-22 15:57 Eray Aslan
2015-12-01 14:54 Eray Aslan
2015-11-09  7:50 Eray Aslan
2015-10-14  7:36 Eray Aslan
2015-09-22  6:29 Eray Aslan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1661917813.1e46ca91ad9036086c17150bce6cb00ba018fdbb.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox