summaryrefslogtreecommitdiff
path: root/office/grisbi/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'office/grisbi/doinst.sh')
-rw-r--r--office/grisbi/doinst.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/office/grisbi/doinst.sh b/office/grisbi/doinst.sh
index 9a8ded3c60..1f8ff67ded 100644
--- a/office/grisbi/doinst.sh
+++ b/office/grisbi/doinst.sh
@@ -2,6 +2,9 @@ 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
+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
+