diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-26 01:12:47 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-29 10:30:54 -0400 |
commit | 0815ce41d31dd5b7d63db5e4df1356d13416d4eb (patch) | |
tree | 33b55f94f41e7e2d34abf2c246b6adc5c76f0f87 /system/razerCommander/doinst.sh | |
parent | 9f22e25f25d4650e677d0a2fe8e8a5c83935ed63 (diff) | |
download | slackbuilds-0815ce41d31dd5b7d63db5e4df1356d13416d4eb.tar.gz |
system/razerCommander: Fix doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/razerCommander/doinst.sh')
-rw-r--r-- | system/razerCommander/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/razerCommander/doinst.sh b/system/razerCommander/doinst.sh index 140e332222..5934a15ab1 100644 --- a/system/razerCommander/doinst.sh +++ b/system/razerCommander/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications 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 |