]> code.ossystems Code Review - openembedded-core.git/commit
gdk-pixbuf: fix the postinstall script failure when no icon is installed
authorJackie Huang <jackie.huang@windriver.com>
Thu, 9 Aug 2012 02:30:30 +0000 (10:30 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2012 13:25:49 +0000 (14:25 +0100)
commit1d4fbe4761d3d97e3c4b6e894719ee41b21559b2
tree6693d9da6096fc8f1ae2f20e3f22ccae30436359
parenta6384b2bd1d608506557ce151135edffa4cb5e0b
gdk-pixbuf: fix the postinstall script failure when no icon is installed

If gtk+ is added to core-image-minimal, postinstall script failed on boot:

Running postinst /etc/rpm-postinsts/104...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/104 failed.

This patch fixed the postinstall script to check for the icon
file first and not run the gtk-update-icon-cache if no icon
is installed.

[YOCTO #2905]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb