[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH 2/2] gnome2.eclass: Make gnome2_gdk_pixbuf_update call conditional
From: Michał Górny <mgorny () gentoo ! org>
Date: 2024-01-25 15:44:53
Message-ID: 20240125154453.22915-2-mgorny () gentoo ! org
[Download RAW message or body]
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>
---
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
--
2.43.0
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic