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 C096B13933E for ; Sat, 10 Jul 2021 06:33:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E297E0E13; Sat, 10 Jul 2021 06:33:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 F0147E0E13 for ; Sat, 10 Jul 2021 06:33:07 +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 68797342BFD for ; Sat, 10 Jul 2021 06:33:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D53097A2 for ; Sat, 10 Jul 2021 06:33:04 +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: <1625898796.86d4135607c4d55a8a9a3b64379e00fc8dd854ce.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-tweaks/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild X-VCS-Directories: gnome-extra/gnome-tweaks/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 86d4135607c4d55a8a9a3b64379e00fc8dd854ce X-VCS-Branch: master Date: Sat, 10 Jul 2021 06:33:04 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 11d91f3c-1e94-4cc5-b87e-59e2b9874670 X-Archives-Hash: 17d0e9f2a4d85b73e37e37add94fe603 commit: 86d4135607c4d55a8a9a3b64379e00fc8dd854ce Author: Mart Raudsepp gentoo org> AuthorDate: Sat Jul 10 06:28:18 2021 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Sat Jul 10 06:33:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d41356 gnome-extra/gnome-tweaks: add missing gnome2_schemas_update call gnome-tweaks-40 added a small gschemas file, so we need to update schemas in postinst/postrm now. Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Mart Raudsepp gentoo.org> gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild b/gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild index 7f2f59d56d9..4bbe3a775eb 100644 --- a/gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild +++ b/gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -inherit gnome.org meson python-single-r1 xdg +inherit gnome.org gnome2-utils meson python-single-r1 xdg DESCRIPTION="Customize advanced GNOME options" HOMEPAGE="https://wiki.gnome.org/Apps/Tweaks" @@ -47,3 +47,13 @@ src_install() { python_optimize python_fix_shebang "${ED}"/usr/bin/ } + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}