diff options
author | Sam James <sam@gentoo.org> | 2022-04-22 17:17:56 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-22 18:36:01 +0100 |
commit | 2877f9c61d72d9bd3168b7b8994092a54a8e88cb (patch) | |
tree | d3ee45b4779151ea1526b03e51f8268fcb82899b /dev-perl/XML-SAX-Expat | |
parent | net-p2p/go-ipfs: drop 0.10.0, 0.11.0 (diff) | |
download | gentoo-2877f9c61d72d9bd3168b7b8994092a54a8e88cb.tar.gz gentoo-2877f9c61d72d9bd3168b7b8994092a54a8e88cb.tar.bz2 gentoo-2877f9c61d72d9bd3168b7b8994092a54a8e88cb.zip |
dev-perl/XML-SAX-Expat: fix ROOT check in pkg_postinst
Closes: https://bugs.gentoo.org/840053
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/XML-SAX-Expat')
-rw-r--r-- | dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r2.ebuild (renamed from dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0-r1.ebuild) | 4 |
1 files 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 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" |