citadel/poky/scripts/postinst-intercepts/update_icon_cache

14 lines
273 B
Bash

#!/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