summaryrefslogtreecommitdiffstats
path: root/development/rstudio-desktop/doinst.sh
diff options
context:
space:
mode:
author Ekin Akoglu <ekinakoglu@gmail.com>2018-04-06 00:21:48 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-07 08:13:12 +0700
commitff73ccf5a98405f0cb3fc1ba29ce761dcd446480 (patch)
tree2594f65c3077a85caf63a4a741d9bcb47e853b4d /development/rstudio-desktop/doinst.sh
parent4ced4563a8de837f6226f565db18c8c6ecf8d733 (diff)
downloadslackbuilds-ff73ccf5a98405f0cb3fc1ba29ce761dcd446480.tar.gz
slackbuilds-ff73ccf5a98405f0cb3fc1ba29ce761dcd446480.tar.xz
development/rstudio-desktop: Updated for version 1.1.442.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/rstudio-desktop/doinst.sh')
-rw-r--r--development/rstudio-desktop/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/rstudio-desktop/doinst.sh b/development/rstudio-desktop/doinst.sh
index 5fb28930db..aea0f894eb 100644
--- a/development/rstudio-desktop/doinst.sh
+++ b/development/rstudio-desktop/doinst.sh
@@ -1,3 +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