summaryrefslogtreecommitdiff
path: root/libre/openshot-libre/openshot.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-21 00:35:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-21 00:35:51 -0300
commitc6574b881f930e737cfa1a7b1b3e77a3e26bd3b8 (patch)
tree9358c545b53dd0f74f0aac6974c0f31fce18bc3a /libre/openshot-libre/openshot.install
parent861e8f7782bd27e27acfd78f3ae4ad9c374983ba (diff)
openshot-libre-1.4.3-2: updating revision from Arch
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
}