summaryrefslogtreecommitdiff
path: root/community/xmind/xmind.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmind/xmind.install')
-rw-r--r--community/xmind/xmind.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/xmind/xmind.install b/community/xmind/xmind.install
new file mode 100644
index 000000000..7be8023f9
--- /dev/null
+++ b/community/xmind/xmind.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo "Updating MIME database"
+ update-mime-database /usr/share/mime
+ update-desktop-database
+}
+
+post_remove() {
+ echo "Updating MIME database"
+ update-mime-database /usr/share/mime
+ update-desktop-database
+}
+
+op=$1
+shift
+
+$op $*