commit:     db7676425e418293840de0a5598b2cd286f6f2e5
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 12:19:56 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Dec 26 12:19:56 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=db767642

gnome2.eclass: Fix accidental reverse of schema update conditional

commit ffb6f9396884aaf7a9c84faa994cde3c458eb83f sync from main tree.
Otherwise e.g gnome-todo fails to run right after install due to no schemas 
found.

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

diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 93a0501e..2cc54393 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
@@ -371,7 +371,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