summaryrefslogtreecommitdiff
path: root/community/tuxguitar/tuxguitar.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/tuxguitar/tuxguitar.install')
-rw-r--r--community/tuxguitar/tuxguitar.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/tuxguitar/tuxguitar.install b/community/tuxguitar/tuxguitar.install
new file mode 100644
index 000000000..50cd956c2
--- /dev/null
+++ b/community/tuxguitar/tuxguitar.install
@@ -0,0 +1,12 @@
+post_install() {
+ [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime
+ [ -x `which update-desktop-database` ] && update-desktop-database
+ /bin/true
+}
+
+post_upgrade() {
+ [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime
+ [ -x `which update-desktop-database` ] && update-desktop-database
+ /bin/true
+}
+