gtk-icon-cache.bbclass: in the postinst update the pixbuf loaders to ensure that all are loaded before creating icon caches

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3430 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton 2008-01-08 15:54:04 +00:00
parent b8a6dbf08b
commit 226212879c
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ gtk-icon-cache_postinst() {
if [ "x$D" != "x" ]; then
exit 1
fi
# Update the pixbuf loaders in case they haven't been registered yet
gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders
gtk-update-icon-cache -q /usr/share/icons/hicolor
}