summaryrefslogtreecommitdiff
path: root/community/emerald/emerald.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/emerald/emerald.install')
-rw-r--r--community/emerald/emerald.install11
1 files changed, 5 insertions, 6 deletions
diff --git a/community/emerald/emerald.install b/community/emerald/emerald.install
index 6ed258dd4..c2fa624ae 100644
--- a/community/emerald/emerald.install
+++ b/community/emerald/emerald.install
@@ -1,14 +1,13 @@
post_install() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
- update-mime-database usr/share/mime
+ xdg-icon-resource forceupdate
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
- update-mime-database usr/share/mime
+ post_install
}
post_remove() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
- update-mime-database usr/share/mime
+ post_install
}