diff options
Diffstat (limited to 'system/emelfm2/doinst.sh')
-rw-r--r-- | system/emelfm2/doinst.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/system/emelfm2/doinst.sh b/system/emelfm2/doinst.sh index 1be07cc6d67b4..9830478e8cc75 100644 --- a/system/emelfm2/doinst.sh +++ b/system/emelfm2/doinst.sh @@ -1,8 +1,14 @@ - if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications + /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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + |