diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-04-26 18:54:53 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-04-27 12:18:17 -0500 |
commit | 01adc3f445c752acba84e1337ab1087546e8c1be (patch) | |
tree | aacdd2b1b4ee69bf1d31159aa1af1da6b933f393 /games/teeworlds/doinst.sh | |
parent | 9f219ce23a7e0c860bb626e52f03ed9b9e9e2de1 (diff) |
games/teeworlds: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/teeworlds/doinst.sh')
-rw-r--r-- | games/teeworlds/doinst.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/games/teeworlds/doinst.sh b/games/teeworlds/doinst.sh index 8542d1c18e4c..5fb28930db0b 100644 --- a/games/teeworlds/doinst.sh +++ b/games/teeworlds/doinst.sh @@ -1,5 +1,3 @@ -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 +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi |