diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-08-22 21:37:47 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-25 12:11:40 +0700 |
commit | b6c546ecaf4234542df91906bf27cc967b029ebb (patch) | |
tree | 9803745e44dfeb35fee5c06299fc39a468636fe2 /misc/projectM | |
parent | 7f7da6467951076808c2537bcdb92244efe25076 (diff) |
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/projectM')
-rw-r--r-- | misc/projectM/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/projectM/doinst.sh b/misc/projectM/doinst.sh index 5fb28930db0b9..65c7e2eeb9aa5 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 |