diff options
Diffstat (limited to 'system/qtfm/doinst.sh')
-rw-r--r-- | system/qtfm/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/system/qtfm/doinst.sh b/system/qtfm/doinst.sh index 5fb28930db0b..aea0f894eb32 100644 --- a/system/qtfm/doinst.sh +++ b/system/qtfm/doinst.sh @@ -1,3 +1,13 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |