summaryrefslogtreecommitdiff
path: root/community/xmind/xmind.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-23 01:11:11 -0700
committerroot <root@rshg054.dnsready.net>2013-10-23 01:11:11 -0700
commit06a76442fa8de4a9975266a4eca7fb2a953f5244 (patch)
tree7b783eeb28c401d172561db419f82783f4380b34 /community/xmind/xmind.install
parentd5839dd449651d7781de570240f3d0a1a9162320 (diff)
Wed Oct 23 01:09:43 PDT 2013
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 $*