aboutsummaryrefslogtreecommitdiff
path: root/games/teeworlds/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-26 18:54:53 +0700
committerErik Hanson <erik@slackbuilds.org>2014-04-27 12:18:17 -0500
commit01adc3f445c752acba84e1337ab1087546e8c1be (patch)
treeaacdd2b1b4ee69bf1d31159aa1af1da6b933f393 /games/teeworlds/doinst.sh
parent9f219ce23a7e0c860bb626e52f03ed9b9e9e2de1 (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.sh6
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