From 4848a71f949b1843ee22bd794172e0e67adec738 Mon Sep 17 00:00:00 2001 From: Frank Caraballo Date: Wed, 12 May 2010 17:44:50 +0200 Subject: office/osmo: Updated for version 0.2.6 --- office/osmo/doinst.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'office/osmo/doinst.sh') diff --git a/office/osmo/doinst.sh b/office/osmo/doinst.sh index 140e33222297..5525db8a5382 100644 --- a/office/osmo/doinst.sh +++ b/office/osmo/doinst.sh @@ -1,3 +1,9 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database -q usr/share/applications +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 -- cgit v1.2.3