gnome2.eclass: Fix accidental reverse of schema update conditional
authorMichał Górny <mgorny@gentoo.org>
Fri, 15 Sep 2017 06:31:43 +0000 (08:31 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 15 Sep 2017 06:32:27 +0000 (08:32 +0200)
Closes: https://bugs.gentoo.org/630874

eclass/gnome2.eclass

index d2b45ad560b3233673d01b5854acf5fd306dda99..6db6d08b14e6dc4ca07d369f59d106c75fa6b501 100644 (file)
@@ -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