summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts/update_gtk_icon_cache
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/postinst-intercepts/update_gtk_icon_cache')
-rw-r--r--scripts/postinst-intercepts/update_gtk_icon_cache21
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/postinst-intercepts/update_gtk_icon_cache b/scripts/postinst-intercepts/update_gtk_icon_cache
deleted file mode 100644
index a92bd840c6..0000000000
--- a/scripts/postinst-intercepts/update_gtk_icon_cache
+++ /dev/null
@@ -1,21 +0,0 @@
1#!/bin/sh
2#
3# SPDX-License-Identifier: MIT
4#
5# Post-install intercept for gtk-icon-cache.bbclass
6
7set -e
8
9# Update native pixbuf loaders
10$STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
11
12for icondir in $D/usr/share/icons/*/ ; do
13 if [ -d $icondir ] ; then
14 for gtkuic_cmd in gtk-update-icon-cache gtk4-update-icon-cache ; do
15 if [ -n "$(which $gtkuic_cmd)" ]; then
16 $gtkuic_cmd -fqt $icondir
17 fi
18 done
19 fi
20done
21