diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2016-11-27 16:50:20 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-03 07:17:45 +0700 |
commit | b9d3a3ba7eba15efa9df6d7fcaa447c14fe200f8 (patch) | |
tree | 6f7e1c8ffab7d9dbfe920da86bea09cbdbdf43b0 /games/vcmi/doinst.sh | |
parent | 551941e398b66addefc54988f0c309e0dbf98327 (diff) |
games/vcmi: Updated for version 0.99.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/vcmi/doinst.sh')
-rw-r--r-- | games/vcmi/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/vcmi/doinst.sh b/games/vcmi/doinst.sh index 5fb28930db0b9..3e5691a052b5b 100644 --- a/games/vcmi/doinst.sh +++ b/games/vcmi/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 |