diff options
author | Eric Hameleers <alien@slackware.com> | 2020-12-06 18:35:19 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-12-06 18:35:19 +0000 |
commit | b52741bce45604346ef4304b736ce8aabbdcbaec (patch) | |
tree | 0ad21416ae71075ecd4df35a36bbdb6a419bebda | |
parent | 6973c3a739d13d0157a134e57784a1e14583a4a3 (diff) | |
download | asb-b52741bce45604346ef4304b736ce8aabbdcbaec.tar.gz asb-b52741bce45604346ef4304b736ce8aabbdcbaec.tar.xz |
lsp-plugins: also refresh the hicolor theme cache.
-rwxr-xr-x | lsp-plugins/build/lsp-plugins.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
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: |