dev-libs/glib: fix typo in REPLACED_BY_VERSION
authorGilles Dartiguelongue <eva@gentoo.org>
Sat, 2 Jan 2016 16:13:48 +0000 (17:13 +0100)
committerGilles Dartiguelongue <eva@gentoo.org>
Sat, 2 Jan 2016 16:19:13 +0000 (17:19 +0100)
Package-Manager: portage-2.2.26

dev-libs/glib/glib-2.46.2-r1.ebuild

index 5be46ce232f71ad2f2a527151b0356ef034ab174..31c7cd6d3928e1f8f5fc8a38e8f72a2752947f0a 100644 (file)
@@ -308,11 +308,11 @@ pkg_postinst() {
 pkg_postrm() {
        gnome2_pkg_postrm
 
-       if [[ -z ${REPLACED_BY_VERSIONS} ]]; then
-               multilib_pkg_postinst() {
+       if [[ -z ${REPLACED_BY_VERSION} ]]; then
+               multilib_pkg_postrm() {
                        rm -f "${EROOT}"usr/$(get_libdir)/gio/giomodule.cache
                }
-               multilib_foreach_abi multilib_pkg_postinst
+               multilib_foreach_abi multilib_pkg_postrm
                rm -f "${EROOT}"usr/share/glib-2.0/schemas/gschemas.compiled
        fi
 }