summarylogtreecommitdiffstats
path: root/rstudio-desktop-bin.install
diff options
context:
space:
mode:
authorMeow2015-06-15 20:50:54 +0800
committerMeow2015-06-15 20:50:54 +0800
commitd3a1b77853a33274b13043d502de3a4a3f57720f (patch)
tree256efc49b93d005750598a33dc4c79f6861e0370 /rstudio-desktop-bin.install
downloadaur-d3a1b77853a33274b13043d502de3a4a3f57720f.tar.gz
Initial import
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
+}