aboutsummaryrefslogtreecommitdiff
path: root/development/gambas3/doinst.sh
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-01-06 07:51:48 -0600
committerErik Hanson <erik@slackbuilds.org>2012-01-06 07:53:11 -0600
commit6d5c1913daf87fdf665fee7bf4b4693ece2eec66 (patch)
tree6f0dc068651af8d5242b4e2998429ab960355214 /development/gambas3/doinst.sh
parent6dca0851a58f7412c9252b1686822a24d56887c5 (diff)
development/gambas3: Added (Gambas Almost Means BASic)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/gambas3/doinst.sh')
-rw-r--r--development/gambas3/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/gambas3/doinst.sh b/development/gambas3/doinst.sh
new file mode 100644
index 0000000000000..9424ce43ff572
--- /dev/null
+++ b/development/gambas3/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