diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-03-11 13:26:35 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-03-12 12:42:51 -0500 |
commit | adcded70d2fd489e970cc492453e1003bd00a22c (patch) | |
tree | 89fdaf2aec29d123050724c8e43e759e61e2834c /games/unknown-horizons/doinst.sh | |
parent | 21fe54d9baa155a604e320a88a1d84e41968b706 (diff) |
games/unknown-horizons: Added (2D realtime strategy simulation).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/unknown-horizons/doinst.sh')
-rw-r--r-- | games/unknown-horizons/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/unknown-horizons/doinst.sh b/games/unknown-horizons/doinst.sh new file mode 100644 index 0000000000000..9424ce43ff572 --- /dev/null +++ b/games/unknown-horizons/doinst.sh @@ -0,0 +1,13 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/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 |