blob: 99367a2855a14875959826654761184927e52b73 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#!/bin/sh
Brad Bishopc342db32019-05-15 21:57:59 -04002#
3# SPDX-License-Identifier: MIT
4#
Brad Bishop96ff1982019-08-19 13:50:42 -04005# Post-install intercept for gtk-icon-cache.bbclass
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006
7set -e
Patrick Williamsf1e5d692016-03-30 15:21:19 -05008
Brad Bishop96ff1982019-08-19 13:50:42 -04009# Update native pixbuf loaders
Patrick Williamsf1e5d692016-03-30 15:21:19 -050010$STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
12for icondir in $D/usr/share/icons/*/ ; do
13 if [ -d $icondir ] ; then
14 gtk-update-icon-cache -fqt $icondir
15 fi
16done
17