summarylogtreecommitdiffstats
path: root/rstudio-desktop-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'rstudio-desktop-bin.install')
-rw-r--r--rstudio-desktop-bin.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/rstudio-desktop-bin.install b/rstudio-desktop-bin.install
new file mode 100644
index 000000000000..c4f58f1700de
--- /dev/null
+++ b/rstudio-desktop-bin.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &>/dev/null
+ update-mime-database /usr/share/mime &>/dev/null
+ update-desktop-database -q
+}
+post_upgrade() {
+ post_install
+}
+post_remove() {
+ post_install
+}