diff options
-rw-r--r-- | sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild | 4 |
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 7bd51a6797f8..369fcd4b8bd8 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 } |