diff options
author | Sam James <sam@gentoo.org> | 2022-04-22 18:38:09 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-22 18:43:03 +0100 |
commit | 413e840fc7c2b190b0e00677cbe509b5812d63d6 (patch) | |
tree | 74b6005dfef6d478c5544cde72563e50b7c93781 /dev-lang | |
parent | media-libs/vulkan-loader: Stabilize 1.3.204 ppc64, #839963 (diff) | |
download | gentoo-413e840fc7c2b190b0e00677cbe509b5812d63d6.tar.gz gentoo-413e840fc7c2b190b0e00677cbe509b5812d63d6.tar.bz2 gentoo-413e840fc7c2b190b0e00677cbe509b5812d63d6.zip |
dev-lang/perl: fix ROOT check in pkg_postinst
Bug: https://bugs.gentoo.org/840053
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/perl/perl-5.34.0-r10.ebuild (renamed from dev-lang/perl/perl-5.34.0-r7.ebuild) | 2 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.34.0-r11.ebuild (renamed from dev-lang/perl/perl-5.34.0-r8.ebuild) | 2 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.34.0-r9.ebuild (renamed from dev-lang/perl/perl-5.34.0-r6.ebuild) | 2 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.34.1-r2.ebuild (renamed from dev-lang/perl/perl-5.34.1.ebuild) | 2 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.34.1-r3.ebuild (renamed from dev-lang/perl/perl-5.34.1-r1.ebuild) | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/dev-lang/perl/perl-5.34.0-r7.ebuild b/dev-lang/perl/perl-5.34.0-r10.ebuild index 73c2004f4b50..b94dfcf6d2c5 100644 --- a/dev-lang/perl/perl-5.34.0-r7.ebuild +++ b/dev-lang/perl/perl-5.34.0-r10.ebuild @@ -801,7 +801,7 @@ pkg_preinst() { pkg_postinst() { dual_scripts - if [[ "${ROOT}" = "/" ]] ; then + if [[ -z "${ROOT}" ]] ; then local INC DIR file INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }') einfo "Removing old .ph files" diff --git a/dev-lang/perl/perl-5.34.0-r8.ebuild b/dev-lang/perl/perl-5.34.0-r11.ebuild index 8b1b6df7213c..23b0a697df81 100644 --- a/dev-lang/perl/perl-5.34.0-r8.ebuild +++ b/dev-lang/perl/perl-5.34.0-r11.ebuild @@ -801,7 +801,7 @@ pkg_preinst() { pkg_postinst() { dual_scripts - if [[ "${ROOT}" = "/" ]] ; then + if [[ -z "${ROOT}" ]] ; then local INC DIR file INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }') einfo "Removing old .ph files" diff --git a/dev-lang/perl/perl-5.34.0-r6.ebuild b/dev-lang/perl/perl-5.34.0-r9.ebuild index 6d2a078601ea..ba13129590ca 100644 --- a/dev-lang/perl/perl-5.34.0-r6.ebuild +++ b/dev-lang/perl/perl-5.34.0-r9.ebuild @@ -793,7 +793,7 @@ pkg_preinst() { pkg_postinst() { dual_scripts - if [[ "${ROOT}" = "/" ]] ; then + if [[ -z "${ROOT}" ]] ; then local INC DIR file INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }') einfo "Removing old .ph files" diff --git a/dev-lang/perl/perl-5.34.1.ebuild b/dev-lang/perl/perl-5.34.1-r2.ebuild index 126d1d65308c..2d2c3d383cf5 100644 --- a/dev-lang/perl/perl-5.34.1.ebuild +++ b/dev-lang/perl/perl-5.34.1-r2.ebuild @@ -797,7 +797,7 @@ pkg_preinst() { pkg_postinst() { dual_scripts - if [[ "${ROOT}" = "/" ]] ; then + if [[ -z "${ROOT}" ]] ; then local INC DIR file INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }') einfo "Removing old .ph files" diff --git a/dev-lang/perl/perl-5.34.1-r1.ebuild b/dev-lang/perl/perl-5.34.1-r3.ebuild index 3d5bf2082646..d08da268022a 100644 --- a/dev-lang/perl/perl-5.34.1-r1.ebuild +++ b/dev-lang/perl/perl-5.34.1-r3.ebuild @@ -809,7 +809,7 @@ pkg_preinst() { pkg_postinst() { dual_scripts - if [[ "${ROOT}" = "/" ]] ; then + if [[ -z "${ROOT}" ]] ; then local INC DIR file INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }') einfo "Removing old .ph files" |