diff options
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 4 | ||||
-rw-r--r-- | scripts/postinst-intercepts/update_gtk_icon_cache (renamed from scripts/postinst-intercepts/update_icon_cache) | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index 66fe781bd2..91cb4ad409 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -6,7 +6,7 @@ PACKAGE_WRITE_DEPS += "gtk+3-native gdk-pixbuf-native" | |||
6 | 6 | ||
7 | gtk_icon_cache_postinst() { | 7 | gtk_icon_cache_postinst() { |
8 | if [ "x$D" != "x" ]; then | 8 | if [ "x$D" != "x" ]; then |
9 | $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \ | 9 | $INTERCEPT_DIR/postinst_intercept update_gtk_icon_cache ${PKG} \ |
10 | mlprefix=${MLPREFIX} \ | 10 | mlprefix=${MLPREFIX} \ |
11 | libdir_native=${libdir_native} | 11 | libdir_native=${libdir_native} |
12 | else | 12 | else |
@@ -24,7 +24,7 @@ fi | |||
24 | 24 | ||
25 | gtk_icon_cache_postrm() { | 25 | gtk_icon_cache_postrm() { |
26 | if [ "x$D" != "x" ]; then | 26 | if [ "x$D" != "x" ]; then |
27 | $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \ | 27 | $INTERCEPT_DIR/postinst_intercept update_gtk_icon_cache ${PKG} \ |
28 | mlprefix=${MLPREFIX} \ | 28 | mlprefix=${MLPREFIX} \ |
29 | libdir=${libdir} | 29 | libdir=${libdir} |
30 | else | 30 | else |
diff --git a/scripts/postinst-intercepts/update_icon_cache b/scripts/postinst-intercepts/update_gtk_icon_cache index 212209a9da..99367a2855 100644 --- a/scripts/postinst-intercepts/update_icon_cache +++ b/scripts/postinst-intercepts/update_gtk_icon_cache | |||
@@ -2,10 +2,11 @@ | |||
2 | # | 2 | # |
3 | # SPDX-License-Identifier: MIT | 3 | # SPDX-License-Identifier: MIT |
4 | # | 4 | # |
5 | # Post-install intercept for gtk-icon-cache.bbclass | ||
5 | 6 | ||
6 | set -e | 7 | set -e |
7 | 8 | ||
8 | # update native pixbuf loaders | 9 | # Update native pixbuf loaders |
9 | $STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache | 10 | $STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache |
10 | 11 | ||
11 | for icondir in $D/usr/share/icons/*/ ; do | 12 | for icondir in $D/usr/share/icons/*/ ; do |