diff options
Diffstat (limited to 'packages/all-poky-linux/adwaita-icon-theme/adwaita-icon-theme-symbolic/latest.pkg_postinst')
-rw-r--r-- | packages/all-poky-linux/adwaita-icon-theme/adwaita-icon-theme-symbolic/latest.pkg_postinst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/all-poky-linux/adwaita-icon-theme/adwaita-icon-theme-symbolic/latest.pkg_postinst b/packages/all-poky-linux/adwaita-icon-theme/adwaita-icon-theme-symbolic/latest.pkg_postinst new file mode 100644 index 00000000000..494eb8efaf4 --- /dev/null +++ b/packages/all-poky-linux/adwaita-icon-theme/adwaita-icon-theme-symbolic/latest.pkg_postinst @@ -0,0 +1,17 @@ +#!/bin/sh +set -e +if [ "x$D" != "x" ]; then + $INTERCEPT_DIR/postinst_intercept update_gtk_icon_cache adwaita-icon-theme-symbolic \ + mlprefix= \ + libdir_native=/usr/lib +else + + # Update the pixbuf loaders in case they haven't been registered yet + /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache + + for icondir in /usr/share/icons/* ; do + if [ -d $icondir ] ; then + gtk-update-icon-cache-3.0 -fqt $icondir + fi + done +fi |