summaryrefslogtreecommitdiff
path: root/libre/openshot-libre/openshot.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-21 01:32:30 -0700
committerroot <root@rshg054.dnsready.net>2013-06-21 01:32:30 -0700
commita52aae1102dd66b353127d2f5c2218551af656e4 (patch)
tree15c14b07facf83858e18d6ed18da41f77948467e /libre/openshot-libre/openshot.install
parent5898d76e47144f2366f9acda9ab52827b696c2d5 (diff)
Fri Jun 21 01:31:20 PDT 2013
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
}