From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75F0A138AE9 for ; Tue, 26 Dec 2017 12:20:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C452EE0D35; Tue, 26 Dec 2017 12:20:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 969F1E0D35 for ; Tue, 26 Dec 2017 12:20:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7285C33FE2A for ; Tue, 26 Dec 2017 12:20:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B6A2AE81 for ; Tue, 26 Dec 2017 12:20:46 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1514290796.db7676425e418293840de0a5598b2cd286f6f2e5.leio@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: eclass/ X-VCS-Repository: proj/gnome X-VCS-Files: eclass/gnome2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: db7676425e418293840de0a5598b2cd286f6f2e5 X-VCS-Branch: master Date: Tue, 26 Dec 2017 12:20:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 234de25e-7b00-4538-9b14-0bdaaf45f5c9 X-Archives-Hash: e1d4b8e6a6066a93bf4b005d93ac3137 commit: db7676425e418293840de0a5598b2cd286f6f2e5 Author: Mart Raudsepp gentoo org> AuthorDate: Tue Dec 26 12:19:56 2017 +0000 Commit: Mart Raudsepp gentoo 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