summaryrefslogtreecommitdiffstats
path: root/network/mosaic-ck/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/mosaic-ck/doinst.sh')
-rw-r--r--network/mosaic-ck/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/network/mosaic-ck/doinst.sh b/network/mosaic-ck/doinst.sh
index 6723fb108e..0681523e4f 100644
--- a/network/mosaic-ck/doinst.sh
+++ b/network/mosaic-ck/doinst.sh
@@ -2,6 +2,12 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/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
+
# If there's no Mosaic link, take over:
if [ ! -r usr/bin/Mosaic ]; then
( cd usr/bin ; ln -sf mosaic-ck Mosaic )