summaryrefslogtreecommitdiff
path: root/scripts/postinst-intercepts/update_pixbuf_cache
blob: 913452927375e147f6270f2037f9cbf4de73cef6 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders

PSEUDO_UNLOAD=1 qemuwrapper -L $D $D${bindir}/gdk-pixbuf-query-loaders \
    >$GDK_PIXBUF_MODULEDIR/../loaders.cache 2>/dev/null && \
    sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache