aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/choqok/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/choqok/doinst.sh b/network/choqok/doinst.sh
index eff9ee323e0d8..65c7e2eeb9aa5 100644
--- a/network/choqok/doinst.sh
+++ b/network/choqok/doinst.sh
@@ -2,6 +2,8 @@ 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/gtk-update-icon-cache ]; then
+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