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: dev-perl/XML-SAX-Expat/
Date: Fri, 22 Apr 2022 17:36:13 +0000 (UTC)	[thread overview]
Message-ID: <1650648961.2877f9c61d72d9bd3168b7b8994092a54a8e88cb.sam@gentoo> (raw)

commit:     2877f9c61d72d9bd3168b7b8994092a54a8e88cb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 16:17:56 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 17:36:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2877f9c6

dev-perl/XML-SAX-Expat: fix ROOT check in pkg_postinst

Closes: https://bugs.gentoo.org/840053
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...ML-SAX-Expat-0.510.0-r1.ebuild => XML-SAX-Expat-0.510.0-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r1.ebuild b/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r2.ebuild
similarity index 94%
rename from dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r1.ebuild
rename to dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r2.ebuild
index 22648f93e9d0..ed0c6210e4f9 100644
--- a/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r1.ebuild
+++ b/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,7 +45,7 @@ pkg_update_parser() {
 	local action=$1
 	local parser_module=$2
 
-	if [[ "$ROOT" = "/" ]] ; then
+	if [[ -z "${ROOT}" ]] ; then
 		einfo "Update Parser: $1 $2"
 		perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
 			|| ewarn "Update Parser: $1 $2 failed"


             reply	other threads:[~2022-04-22 17:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-22 17:36 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-30  7:53 [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-SAX-Expat/ Sam James
2022-04-22 17:51 Sam James
2021-10-06 16:47 Andreas K. Hüttel
2021-09-17  7:51 Yixun Lan
2020-12-27 16:19 Fabian Groffen
2018-10-27 15:39 Fabian Groffen
2018-07-01 13:38 Mikle Kolyada
2018-03-22  8:08 Mart Raudsepp
2018-03-21  6:52 Matt Turner
2017-11-09  0:49 Matt Turner
2017-07-13  1:55 Markus Meier
2017-07-10 19:22 Fabian Groffen
2017-07-04 15:49 Agostino Sarubbo
2017-07-04 10:17 Agostino Sarubbo
2017-07-01 20:52 Sergei Trofimovich
2017-04-16  8:13 Jeroen Roovers
2017-02-27 20:10 Markus Meier
2017-02-23 17:13 Markus Meier
2017-01-29 16:59 Fabian Groffen
2016-12-27 10:28 Kent Fredric
2016-11-05 15:07 Michael Palimaka
2016-10-04  7:58 Tobias Klausmann
2016-09-24 18:58 Andreas Hüttel

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=1650648961.2877f9c61d72d9bd3168b7b8994092a54a8e88cb.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