[planner: 33/40] build: Update icon cache in post-install




commit f750a79279c8b83aebb315b0d6ed082f6edae3ca
Author: Mart Raudsepp <leio gentoo org>
Date:   Wed Mar 4 19:54:01 2020 +0200

    build: Update icon cache in post-install
    
    This was missing in autotools build, but is customary to do

 meson_post_install.sh | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/meson_post_install.sh b/meson_post_install.sh
index 48646fd9..117da7a3 100755
--- a/meson_post_install.sh
+++ b/meson_post_install.sh
@@ -8,6 +8,8 @@ fi
 if [ -z $DESTDIR ]; then
     echo 'Updating mime database'
     update-mime-database "$MESON_INSTALL_PREFIX/share/mime"
+    echo 'Updating icon cache'
+    gtk-update-icon-cache -qtf "$MESON_INSTALL_PREFIX/share/icons/hicolor"
     echo 'Updating desktop database'
     update-desktop-database -q "$MESON_INSTALL_PREFIX/share/applications"
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]