mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst
The gtk-update-icon-cache utility does not create a cache file if one does not already exist. Since some packages (notably gnome-icon-theme) do not ship a cache file by default, the results of the utility are not saved. Adding the force option writes out the cache even if there wasn't a default cache in the package. (From OE-Core rev: b3bb99c6faaf5c1613246309fd05cd95c39c77f4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2a9e6f32c5
commit
118a0afe1a
@@ -14,7 +14,7 @@ GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-lo
|
|||||||
|
|
||||||
for icondir in /usr/share/icons/* ; do
|
for icondir in /usr/share/icons/* ; do
|
||||||
if [ -d $icondir ] ; then
|
if [ -d $icondir ] ; then
|
||||||
gtk-update-icon-cache -qt $icondir
|
gtk-update-icon-cache -fqt $icondir
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user