summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-11-01 10:52:48 +0100
committerMichał Górny <mgorny@gentoo.org>2018-11-01 11:01:24 +0100
commit98de4c1ba726c5ea67eb53847ee7998864e8d4a2 (patch)
tree32a1ac15045800c12a64346b283d95aff318b4b6 /sys-devel/multilib-gcc-wrapper
parentmedia-video/subtitlecomposer: patch 0.6.6 to work with CMake 3.3 (diff)
downloadgentoo-98de4c1ba726c5ea67eb53847ee7998864e8d4a2.tar.gz
gentoo-98de4c1ba726c5ea67eb53847ee7998864e8d4a2.tar.bz2
gentoo-98de4c1ba726c5ea67eb53847ee7998864e8d4a2.zip
sys-devel/multilib-gcc-wrapper: Fix EROOT in EAPI 7
Closes: https://bugs.gentoo.org/669852 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel/multilib-gcc-wrapper')
-rw-r--r--sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild b/sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild
index 7bd51a6797f..369fcd4b8bd 100644
--- a/sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild
+++ b/sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild
@@ -58,13 +58,13 @@ src_install() {
}
pkg_postinst() {
- if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
+ if [[ -z ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
eselect compiler-shadow update all
fi
}
pkg_postrm() {
- if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
+ if [[ -z ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
eselect compiler-shadow clean all
fi
}