summaryrefslogtreecommitdiff
path: root/community/rawtherapee/rawtherapee.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/rawtherapee/rawtherapee.install')
-rw-r--r--community/rawtherapee/rawtherapee.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/rawtherapee/rawtherapee.install b/community/rawtherapee/rawtherapee.install
new file mode 100644
index 000000000..6a18adf6e
--- /dev/null
+++ b/community/rawtherapee/rawtherapee.install
@@ -0,0 +1,17 @@
+post_install() {
+ echo "update desktop mime database..."
+ update-desktop-database -q
+ update-mime-database usr/share/mime 1>&2 > /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+
+# vim:set ts=2 sw=2 et: