diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-04 03:19:45 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-05 11:29:50 +0700 |
commit | c2137dda00a00d69cdb725f63851a298d9a93a0b (patch) | |
tree | bde0b68bf3ed0d1c905798ce5ab76582a9adb5a6 /system/vinterm/doinst.sh | |
parent | 81f58e6dc32211c15cca5e72659d1f9c713eeb58 (diff) |
system/vinterm: Fix icon/desktop installation.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/vinterm/doinst.sh')
-rw-r--r-- | system/vinterm/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/vinterm/doinst.sh b/system/vinterm/doinst.sh index 5fb28930db0b9..3e5691a052b5b 100644 --- a/system/vinterm/doinst.sh +++ b/system/vinterm/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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |