diff options
Diffstat (limited to 'development/poedit/doinst.sh')
-rw-r--r-- | development/poedit/doinst.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/development/poedit/doinst.sh b/development/poedit/doinst.sh index 0acbacff73ac..1f8ff67dedb2 100644 --- a/development/poedit/doinst.sh +++ b/development/poedit/doinst.sh @@ -1,7 +1,10 @@ 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 +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 + |