From 972dcfcdbfe75dcfeb777150c136576cf1a71e99 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 9 Oct 2015 22:59:03 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- scripts/postinst-intercepts/update_pixbuf_cache | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/postinst-intercepts/update_pixbuf_cache (limited to 'scripts/postinst-intercepts/update_pixbuf_cache') diff --git a/scripts/postinst-intercepts/update_pixbuf_cache b/scripts/postinst-intercepts/update_pixbuf_cache new file mode 100644 index 0000000000..95bf4f90a3 --- /dev/null +++ b/scripts/postinst-intercepts/update_pixbuf_cache @@ -0,0 +1,11 @@ +#!/bin/sh + +export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders +export GDK_PIXBUF_FATAL_LOADER=1 + +PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\ + $D${bindir}/gdk-pixbuf-query-loaders \ + >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \ + sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache + + -- cgit v1.2.3-54-g00ecf