commit:     ffb6f9396884aaf7a9c84faa994cde3c458eb83f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 06:31:43 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 06:32:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb6f939

gnome2.eclass: Fix accidental reverse of schema update conditional

Closes: https://bugs.gentoo.org/630874

 eclass/gnome2.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index d2b45ad560b..6db6d08b14e 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -340,7 +340,7 @@ gnome2_pkg_postinst() {
        if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
                gnome2_icon_cache_update
        fi
-       if [[ -z ${GNOME2_ECLASS_GLIB_SCHEMAS} ]]; then
+       if [[ -n ${GNOME2_ECLASS_GLIB_SCHEMAS} ]]; then
                gnome2_schemas_update
        fi
        gnome2_scrollkeeper_update
@@ -364,7 +364,7 @@ gnome2_pkg_postrm() {
        if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
                gnome2_icon_cache_update
        fi
-       if [[ -z ${GNOME2_ECLASS_GLIB_SCHEMAS} ]]; then
+       if [[ -n ${GNOME2_ECLASS_GLIB_SCHEMAS} ]]; then
                gnome2_schemas_update
        fi
        gnome2_scrollkeeper_update

Reply via email to