diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-11 14:44:30 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 13:32:52 +0700 |
commit | 9091c1337f1e05c50fdbb2269d85dee3c5085494 (patch) | |
tree | 0c43823fddd79ce08677dbf2484fb1caa77eb62c /system/herculesstudio/doinst.sh | |
parent | 9be267d34d973ac4810b20dd0d08935d37425223 (diff) |
system/herculesstudio: Fix 15.0 build, new-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/herculesstudio/doinst.sh')
-rw-r--r-- | system/herculesstudio/doinst.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/herculesstudio/doinst.sh b/system/herculesstudio/doinst.sh index 4e8ba7071dea7..3e5691a052b5b 100644 --- a/system/herculesstudio/doinst.sh +++ b/system/herculesstudio/doinst.sh @@ -2,3 +2,8 @@ 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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |