diff options
author | Sam James <sam@gentoo.org> | 2022-04-23 03:07:46 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-23 03:07:46 +0100 |
commit | a258229c73554b23d6eb0c60a0d4706f7d19dc32 (patch) | |
tree | 2a872d3d01c28800b0568cc5b913367d3361ea8a /sys-libs/musl/musl-9999.ebuild | |
parent | dev-db/myodbc: fix ROOT check in pkg_postinst (diff) | |
download | gentoo-a258229c73554b23d6eb0c60a0d4706f7d19dc32.tar.gz gentoo-a258229c73554b23d6eb0c60a0d4706f7d19dc32.tar.bz2 gentoo-a258229c73554b23d6eb0c60a0d4706f7d19dc32.zip |
sys-libs/musl: fix ROOT check in pkg_postinst
With EAPI 7+, ROOT and others will be blank (not /).
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/musl/musl-9999.ebuild')
-rw-r--r-- | sys-libs/musl/musl-9999.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild index 26ac4bb3ec3b..07ab1388cef8 100644 --- a/sys-libs/musl/musl-9999.ebuild +++ b/sys-libs/musl/musl-9999.ebuild @@ -167,7 +167,7 @@ src_install() { pkg_postinst() { is_crosscompile && return 0 - [ "${ROOT}" != "/" ] && return 0 + [ -n "${ROOT}" ] && return 0 ldconfig || die } |