From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- poky/scripts/postinst-intercepts/update_icon_cache | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 poky/scripts/postinst-intercepts/update_icon_cache (limited to 'poky/scripts/postinst-intercepts/update_icon_cache') diff --git a/poky/scripts/postinst-intercepts/update_icon_cache b/poky/scripts/postinst-intercepts/update_icon_cache new file mode 100644 index 000000000..9cf2a72a0 --- /dev/null +++ b/poky/scripts/postinst-intercepts/update_icon_cache @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +# update native pixbuf loaders +$STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache + +for icondir in $D/usr/share/icons/*/ ; do + if [ -d $icondir ] ; then + gtk-update-icon-cache -fqt $icondir + fi +done + -- cgit v1.2.1