commit: dc397d20d4116d795c935543a01b21b67acfaf32
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 15:40:48 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 6 03:07:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc397d20
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 <AT> gentoo.org>
eclass/gnome2.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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