summaryrefslogtreecommitdiff
path: root/games/teeworlds/doinst.sh
diff options
context:
space:
mode:
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 8542d1c18e..5fb28930db 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