diff options
author | Steve Sakoman <steve@sakoman.com> | 2012-01-06 20:51:53 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-10 17:28:44 +0000 |
commit | 118a0afe1ad766d80aee64792ca2cafbecbf4854 (patch) | |
tree | 4df7c955127d47bf5c5d79401ea49cb4e67d3406 /meta/classes/gtk-icon-cache.bbclass | |
parent | 2a9e6f32c50c01136bccc245997bb106c4e0eb88 (diff) | |
download | poky-118a0afe1ad766d80aee64792ca2cafbecbf4854.tar.gz |
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>
Diffstat (limited to 'meta/classes/gtk-icon-cache.bbclass')
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index eac3061b0a..0204fd3fec 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -14,7 +14,7 @@ GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-lo | |||
14 | 14 | ||
15 | for icondir in /usr/share/icons/* ; do | 15 | for icondir in /usr/share/icons/* ; do |
16 | if [ -d $icondir ] ; then | 16 | if [ -d $icondir ] ; then |
17 | gtk-update-icon-cache -qt $icondir | 17 | gtk-update-icon-cache -fqt $icondir |
18 | fi | 18 | fi |
19 | done | 19 | done |
20 | } | 20 | } |