From b52741bce45604346ef4304b736ce8aabbdcbaec Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 6 Dec 2020 18:35:19 +0000 Subject: lsp-plugins: also refresh the hicolor theme cache. --- lsp-plugins/build/lsp-plugins.SlackBuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lsp-plugins/build/lsp-plugins.SlackBuild b/lsp-plugins/build/lsp-plugins.SlackBuild index 36b02be6..98e30919 100755 --- a/lsp-plugins/build/lsp-plugins.SlackBuild +++ b/lsp-plugins/build/lsp-plugins.SlackBuild @@ -185,6 +185,13 @@ if [ -x usr/bin/update-desktop-database ]; then chroot . /usr/bin/update-desktop-database usr/share/applications > /dev/null 2>&1 fi +# Update hicolor theme cache: +if [ -d usr/share/icons/hicolor ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + chroot . /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null + fi +fi + EOINS # Add documentation: -- cgit v1.2.3