summaryrefslogtreecommitdiff
path: root/development/vstudio/doinst.sh
diff options
context:
space:
mode:
authorantonioleal <antonioleal@yahoo.com>2014-03-03 08:41:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-03 09:00:16 +0700
commitebd1ab7c5da1a12e7b0b5a57363dcb20d2d65286 (patch)
treee23fb551505481c173d79829ca95e5adf77c78d0 /development/vstudio/doinst.sh
parent8f62f12822fd0059a35ac8a5767286c01ad1277a (diff)
downloadslackbuilds-ebd1ab7c5da1a12e7b0b5a57363dcb20d2d65286.tar.gz
development/vstudio: Added (DB Management).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/vstudio/doinst.sh')
-rw-r--r--development/vstudio/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/vstudio/doinst.sh b/development/vstudio/doinst.sh
new file mode 100644
index 0000000000..78fd60c339
--- /dev/null
+++ b/development/vstudio/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/gnome/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/gnome >/dev/null 2>&1
+ fi
+fi