diff options
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index f87a30fd5b..7c7dd78854 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -12,7 +12,9 @@ if [ "x$D" != "x" ]; then | |||
12 | gdk-pixbuf-query-loaders --update-cache | 12 | gdk-pixbuf-query-loaders --update-cache |
13 | 13 | ||
14 | for icondir in $D/usr/share/icons/*/ ; do | 14 | for icondir in $D/usr/share/icons/*/ ; do |
15 | gtk-update-icon-cache -fqt $icondir | 15 | if [ -d $icondir ] ; then |
16 | gtk-update-icon-cache -fqt $icondir | ||
17 | fi | ||
16 | done | 18 | done |
17 | EOF | 19 | EOF |
18 | fi | 20 | fi |