From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1388587-garchives=archives.gentoo.org@lists.gentoo.org>
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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id F23E615808D
	for <garchives@archives.gentoo.org>; Fri, 22 Apr 2022 17:36:16 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2B625E0841;
	Fri, 22 Apr 2022 17:36:16 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 04C17E0841
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Apr 2022 17:36:16 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 19B51341402
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Apr 2022 17:36:15 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id AB1513BB
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Apr 2022 17:36:13 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1650648961.2877f9c61d72d9bd3168b7b8994092a54a8e88cb.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-SAX-Expat/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r1.ebuild dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r2.ebuild
X-VCS-Directories: dev-perl/XML-SAX-Expat/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 2877f9c61d72d9bd3168b7b8994092a54a8e88cb
X-VCS-Branch: master
Date: Fri, 22 Apr 2022 17:36:13 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 83e45665-7f66-47ea-b849-01e394d0ce51
X-Archives-Hash: 2acb13074bd4cbca02f9d33584f20f3e

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"