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.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/tuxguitar/tuxguitar.install b/community/tuxguitar/tuxguitar.install
new file mode 100644
index 000000000..9069058c8
--- /dev/null
+++ b/community/tuxguitar/tuxguitar.install
@@ -0,0 +1,11 @@
+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
+}