aboutsummaryrefslogtreecommitdiff
path: root/games/open-adventure/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-24 15:39:52 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:23 +0700
commit0acc8c3dc64724524698906016d62836125e7377 (patch)
treeba94cbc0e87a23f61fad6dacaa7eb56b0664a993 /games/open-adventure/doinst.sh
parent7ae7eadf4890496619033b60115d4ca647134dfb (diff)
games/open-adventure: New-style icons, HTML docs.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/open-adventure/doinst.sh')
-rw-r--r--games/open-adventure/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/open-adventure/doinst.sh b/games/open-adventure/doinst.sh
new file mode 100644
index 000000000000..9a8ded3c6034
--- /dev/null
+++ b/games/open-adventure/doinst.sh
@@ -0,0 +1,7 @@
+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