summaryrefslogtreecommitdiff
path: root/games/frotz/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-12-18 16:28:12 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-12-19 09:40:25 +0700
commit2d8af6392b79f23bed753136f54c45a12ad5c542 (patch)
tree53ac3f6c747fafd5a71fe8cde8af28fbab58184b /games/frotz/doinst.sh
parent1eef39261e161f609354bbcfa9fe9d524803b8fb (diff)
downloadslackbuilds-2d8af6392b79f23bed753136f54c45a12ad5c542.tar.gz
games/frotz: Updated for version 2.52, desktop stuff.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/frotz/doinst.sh')
-rw-r--r--games/frotz/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/frotz/doinst.sh b/games/frotz/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/games/frotz/doinst.sh
@@ -0,0 +1,13 @@
+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
+
+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
+fi