summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts/update_icon_cache
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-06-24 17:27:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-27 11:14:02 +0100
commit3158adbe684890adc56af11e19af872e90e09d41 (patch)
tree0f883125f45b9f3575f6925a3a7d5805e17ae4e9 /scripts/postinst-intercepts/update_icon_cache
parent7ad36194dc42191b4da29fd29fb3869feb8b0d30 (diff)
downloadopenembedded-core-contrib-3158adbe684890adc56af11e19af872e90e09d41.tar.gz
gtk-icon-cache: rename intercept to update_gtk_icon_cache
The intercept is called update_icon_cache which is vague: rename to update_gtk_icon_cache to make it clearer what it is for, and add a comment explaining what class caused it to be used. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/postinst-intercepts/update_icon_cache')
-rw-r--r--scripts/postinst-intercepts/update_icon_cache16
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/postinst-intercepts/update_icon_cache b/scripts/postinst-intercepts/update_icon_cache
deleted file mode 100644
index 212209a9da..0000000000
--- a/scripts/postinst-intercepts/update_icon_cache
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# SPDX-License-Identifier: MIT
-#
-
-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
-