summaryrefslogtreecommitdiff
path: root/libre/openshot-libre/openshot.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/openshot-libre/openshot.install')
-rw-r--r--libre/openshot-libre/openshot.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/libre/openshot-libre/openshot.install b/libre/openshot-libre/openshot.install
index cc0de896d..aab69abed 100644
--- a/libre/openshot-libre/openshot.install
+++ b/libre/openshot-libre/openshot.install
@@ -1,11 +1,11 @@
post_install() {
- [ -x `which update-mime-database` ] && update-mime-database usr/share/mime
+ update-mime-database usr/share/mime &>/dev/null
}
post_upgrade() {
- [ -x `which update-mime-database` ] && update-mime-database usr/share/mime
+ post_install
}
post_remove() {
- [ -x `which update-mime-database` ] && update-mime-database usr/share/mime
+ post_install
}