From: Michał Górny Date: Fri, 15 Sep 2017 06:31:43 +0000 (+0200) Subject: gnome2.eclass: Fix accidental reverse of schema update conditional X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ffb6f9396884aaf7a9c84faa994cde3c458eb83f;p=gentoo.git gnome2.eclass: Fix accidental reverse of schema update conditional Closes: https://bugs.gentoo.org/630874 --- diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index d2b45ad560b3..6db6d08b14e6 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