summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/postinst-intercepts')
-rw-r--r--scripts/postinst-intercepts/update_icon_cache3
-rw-r--r--scripts/postinst-intercepts/update_pixbuf_cache4
2 files changed, 3 insertions, 4 deletions
diff --git a/scripts/postinst-intercepts/update_icon_cache b/scripts/postinst-intercepts/update_icon_cache
index 8e17a6ac0c..c02273d52a 100644
--- a/scripts/postinst-intercepts/update_icon_cache
+++ b/scripts/postinst-intercepts/update_icon_cache
@@ -1,8 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2 2
3set -e 3set -e
4
4# update native pixbuf loaders 5# update native pixbuf loaders
5gdk-pixbuf-query-loaders --update-cache 6${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
6 7
7for icondir in $D/usr/share/icons/*/ ; do 8for icondir in $D/usr/share/icons/*/ ; do
8 if [ -d $icondir ] ; then 9 if [ -d $icondir ] ; then
diff --git a/scripts/postinst-intercepts/update_pixbuf_cache b/scripts/postinst-intercepts/update_pixbuf_cache
index 95bf4f90a3..a8b4001069 100644
--- a/scripts/postinst-intercepts/update_pixbuf_cache
+++ b/scripts/postinst-intercepts/update_pixbuf_cache
@@ -4,8 +4,6 @@ export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
4export GDK_PIXBUF_FATAL_LOADER=1 4export GDK_PIXBUF_FATAL_LOADER=1
5 5
6PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\ 6PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
7 $D${bindir}/gdk-pixbuf-query-loaders \ 7 $D${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \
8 >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \ 8 >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \
9 sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache 9 sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache
10
11