summaryrefslogtreecommitdiff
path: root/extra/fyre/fyre.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/fyre/fyre.install')
-rw-r--r--extra/fyre/fyre.install10
1 files changed, 6 insertions, 4 deletions
diff --git a/extra/fyre/fyre.install b/extra/fyre/fyre.install
index 0f4a73633..388efbb11 100644
--- a/extra/fyre/fyre.install
+++ b/extra/fyre/fyre.install
@@ -1,11 +1,13 @@
post_install() {
- usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
- usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1
+ post_install
}
-pre_remove() {
- usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1
+post_remove() {
+ post_install
}