summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/shared-mime-info/shared-mime-info.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/shared-mime-info/shared-mime-info.install')
-rw-r--r--abs/core-testing/shared-mime-info/shared-mime-info.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core-testing/shared-mime-info/shared-mime-info.install b/abs/core-testing/shared-mime-info/shared-mime-info.install
new file mode 100644
index 0000000..6b06094
--- /dev/null
+++ b/abs/core-testing/shared-mime-info/shared-mime-info.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-mime-database /usr/share/mime > /dev/null 2>&1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+op=$1
+shift
+
+$op $*