summaryrefslogtreecommitdiff
path: root/pcr/rstudio-desktop/rstudio.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/rstudio-desktop/rstudio.install')
-rw-r--r--pcr/rstudio-desktop/rstudio.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/rstudio-desktop/rstudio.install b/pcr/rstudio-desktop/rstudio.install
new file mode 100644
index 000000000..d0192c8c0
--- /dev/null
+++ b/pcr/rstudio-desktop/rstudio.install
@@ -0,0 +1,15 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ post_install "$1"
+}
+
+# vim:set ts=2 sw=2 et: