summaryrefslogtreecommitdiffstats
path: root/games/FlightGear/doinst.sh
diff options
context:
space:
mode:
author Panagiotis Nikolaou <hostmaster@slackonly.com>2017-03-04 07:11:29 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-04 07:19:34 +0700
commitb75e8023cc2cac89e8c9ebb4f1900861ce55d1b5 (patch)
treefc4df8b893a384d1a4f30d7e9df3edbd80ead5c2 /games/FlightGear/doinst.sh
parent10259a88f377f94b06a072341ba858e9b36e4abe (diff)
downloadslackbuilds-b75e8023cc2cac89e8c9ebb4f1900861ce55d1b5.tar.gz
slackbuilds-b75e8023cc2cac89e8c9ebb4f1900861ce55d1b5.tar.xz
games/FlightGear: Updated for version 2017.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/FlightGear/doinst.sh')
-rw-r--r--games/FlightGear/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/FlightGear/doinst.sh b/games/FlightGear/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/games/FlightGear/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi