summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2021-07-10 09:28:18 +0300
committerMart Raudsepp <leio@gentoo.org>2021-07-10 09:33:16 +0300
commit86d4135607c4d55a8a9a3b64379e00fc8dd854ce (patch)
tree3b3c8070875295ac4a902d9e7a6964d2dca1ab33 /gnome-extra/gnome-tweaks
parentprofiles/arch/arm64: unstablemask USE=dist-kernel (diff)
downloadgentoo-86d4135607c4d55a8a9a3b64379e00fc8dd854ce.tar.gz
gentoo-86d4135607c4d55a8a9a3b64379e00fc8dd854ce.tar.bz2
gentoo-86d4135607c4d55a8a9a3b64379e00fc8dd854ce.zip
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 <leio@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-tweaks')
-rw-r--r--gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild b/gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild
index 7f2f59d56d9e..4bbe3a775eb9 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
+}