diff options
Diffstat (limited to 'scripts/postinst-intercepts')
4 files changed, 5 insertions, 10 deletions
diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache index bf65e19a41..20e9048adf 100644 --- a/scripts/postinst-intercepts/update_font_cache +++ b/scripts/postinst-intercepts/update_font_cache | |||
@@ -2,6 +2,5 @@ | |||
2 | 2 | ||
3 | set -e | 3 | set -e |
4 | 4 | ||
5 | PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir} \ | 5 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E ${fontconfigcacheenv} $D${bindir}/fc-cache --sysroot=$D --system-only ${fontconfigcacheparams} |
6 | -E ${fontconfigcacheenv} $D${bindir}/fc-cache --sysroot=$D --system-only ${fontconfigcacheparams} | ||
7 | chown -R root:root $D${fontconfigcachedir} | 6 | chown -R root:root $D${fontconfigcachedir} |
diff --git a/scripts/postinst-intercepts/update_gio_module_cache b/scripts/postinst-intercepts/update_gio_module_cache index fc3f9d0d6c..d1f0140947 100644 --- a/scripts/postinst-intercepts/update_gio_module_cache +++ b/scripts/postinst-intercepts/update_gio_module_cache | |||
@@ -2,8 +2,7 @@ | |||
2 | 2 | ||
3 | set -e | 3 | set -e |
4 | 4 | ||
5 | PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D${libdir}:$D${base_libdir} \ | 5 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libexecdir}/${binprefix}gio-querymodules $D${libdir}/gio/modules/ |
6 | $D${libexecdir}/${binprefix}gio-querymodules $D${libdir}/gio/modules/ | ||
7 | 6 | ||
8 | [ ! -e $D${libdir}/gio/modules/giomodule.cache ] || | 7 | [ ! -e $D${libdir}/gio/modules/giomodule.cache ] || |
9 | chown root:root $D${libdir}/gio/modules/giomodule.cache | 8 | chown root:root $D${libdir}/gio/modules/giomodule.cache |
diff --git a/scripts/postinst-intercepts/update_gtk_immodules_cache b/scripts/postinst-intercepts/update_gtk_immodules_cache index e2b9ff7438..d85d3622c2 100644 --- a/scripts/postinst-intercepts/update_gtk_immodules_cache +++ b/scripts/postinst-intercepts/update_gtk_immodules_cache | |||
@@ -3,15 +3,13 @@ | |||
3 | set -e | 3 | set -e |
4 | 4 | ||
5 | if [ -x $D${bindir}/gtk-query-immodules-2.0 ]; then | 5 | if [ -x $D${bindir}/gtk-query-immodules-2.0 ]; then |
6 | PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D${libdir}:$D${base_libdir} \ | 6 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D/${bindir}/gtk-query-immodules-2.0 \ |
7 | $D/${bindir}/gtk-query-immodules-2.0 \ | ||
8 | > $D${libdir}/gtk-2.0/2.10.0/immodules.cache && | 7 | > $D${libdir}/gtk-2.0/2.10.0/immodules.cache && |
9 | sed -i -e "s:$D::" $D${libdir}/gtk-2.0/2.10.0/immodules.cache | 8 | sed -i -e "s:$D::" $D${libdir}/gtk-2.0/2.10.0/immodules.cache |
10 | chown root:root $D${libdir}/gtk-2.0/2.10.0/immodules.cache | 9 | chown root:root $D${libdir}/gtk-2.0/2.10.0/immodules.cache |
11 | fi | 10 | fi |
12 | if [ -x $D${bindir}/gtk-query-immodules-3.0 ]; then | 11 | if [ -x $D${bindir}/gtk-query-immodules-3.0 ]; then |
13 | PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D${libdir}:$D${base_libdir} \ | 12 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D/${bindir}/gtk-query-immodules-3.0 \ |
14 | $D/${bindir}/gtk-query-immodules-3.0 \ | ||
15 | > $D${libdir}/gtk-3.0/3.0.0/immodules.cache && | 13 | > $D${libdir}/gtk-3.0/3.0.0/immodules.cache && |
16 | sed -i -e "s:$D::" $D${libdir}/gtk-3.0/3.0.0/immodules.cache | 14 | sed -i -e "s:$D::" $D${libdir}/gtk-3.0/3.0.0/immodules.cache |
17 | chown root:root $D${libdir}/gtk-3.0/3.0.0/immodules.cache | 15 | chown root:root $D${libdir}/gtk-3.0/3.0.0/immodules.cache |
diff --git a/scripts/postinst-intercepts/update_pixbuf_cache b/scripts/postinst-intercepts/update_pixbuf_cache index 5d44075fb4..ebea07c356 100644 --- a/scripts/postinst-intercepts/update_pixbuf_cache +++ b/scripts/postinst-intercepts/update_pixbuf_cache | |||
@@ -5,7 +5,6 @@ set -e | |||
5 | export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders | 5 | export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders |
6 | export GDK_PIXBUF_FATAL_LOADER=1 | 6 | export GDK_PIXBUF_FATAL_LOADER=1 |
7 | 7 | ||
8 | PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\ | 8 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ |
9 | $D${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ | ||
10 | >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \ | 9 | >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \ |
11 | sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache | 10 | sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache |