• [gentoo-dev] [PATCH 2/2] gnome2.eclass: Make gnome2_gdk_pixbuf_update c

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Thu Jan 25 16:50:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)