summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
author Andrew Clemons2021-08-22 11:37:47 +0200
committer Willy Sudiarto Raharjo2021-08-25 07:11:40 +0200
commitb6c546ecaf4234542df91906bf27cc967b029ebb (patch)
tree9803745e44dfeb35fee5c06299fc39a468636fe2 /misc
parent7f7da6467951076808c2537bcdb92244efe25076 (diff)
downloadslackbuilds-b6c546ecaf4234542df91906bf27cc967b029ebb.tar.gz
misc/projectM: Fix icon cache handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/projectM/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/projectM/doinst.sh b/misc/projectM/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/misc/projectM/doinst.sh
+++ b/misc/projectM/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi