summaryrefslogtreecommitdiff
path: root/games/tome4/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/tome4/doinst.sh')
-rw-r--r--games/tome4/doinst.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/tome4/doinst.sh b/games/tome4/doinst.sh
index 8542d1c18e..5fb28930db 100644
--- a/games/tome4/doinst.sh
+++ b/games/tome4/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