summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-25 16:40:48 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-06 04:07:33 +0100
commitdc397d20d4116d795c935543a01b21b67acfaf32 (patch)
treedc6de56bff730131576ab59fe888a192a1557ce0 /eclass/gnome2.eclass
parentgnome2-utils.eclass: Make *_gdk_pixbuf_update work unconditionally (diff)
downloadgentoo-dc397d20d4116d795c935543a01b21b67acfaf32.tar.gz
gentoo-dc397d20d4116d795c935543a01b21b67acfaf32.tar.bz2
gentoo-dc397d20d4116d795c935543a01b21b67acfaf32.zip
gnome2.eclass: Make gnome2_gdk_pixbuf_update call conditional
Move the condition that checks the result of gnome2_gdk_pixbuf_savelist from inside gnome2_gdk_pixbuf_update to the postinst phase of gnome2.eclass. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 00188fd7889c..66de2df97f9f 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -214,7 +214,9 @@ gnome2_pkg_postinst() {
gnome2_schemas_update
fi
gnome2_scrollkeeper_update
- gnome2_gdk_pixbuf_update
+ if [[ -n ${GNOME2_ECLASS_GDK_PIXBUF_LOADERS} ]]; then
+ gnome2_gdk_pixbuf_update
+ fi
if [[ ${#GNOME2_ECLASS_GIO_MODULES[@]} -gt 0 ]]; then
gnome2_giomodule_cache_update