summaryrefslogtreecommitdiff
path: root/testing/mkvtoolnix/mkvtoolnix.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mkvtoolnix/mkvtoolnix.install')
-rw-r--r--testing/mkvtoolnix/mkvtoolnix.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/mkvtoolnix/mkvtoolnix.install b/testing/mkvtoolnix/mkvtoolnix.install
new file mode 100644
index 000000000..74d9eb2ef
--- /dev/null
+++ b/testing/mkvtoolnix/mkvtoolnix.install
@@ -0,0 +1,14 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ if [ -f usr/bin/update-mime-database ]; then
+ update-mime-database usr/share/mime &> /dev/null
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ post_install
+}