diff options
Diffstat (limited to 'smoffice2012.install')
-rw-r--r-- | smoffice2012.install | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/smoffice2012.install b/smoffice2012.install index 5a3a5463215c..9f9a52e6de96 100644 --- a/smoffice2012.install +++ b/smoffice2012.install @@ -1,13 +1,17 @@ -post_install() { - update-desktop-database -q - update-mime-database usr/share/mime +do_update() { xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null + update-desktop-database -q +} + +post_install() { + do_update } post_upgrade() { - post_install + do_update } post_remove () { - post_install + do_update } |