summaryrefslogtreecommitdiffstats
path: root/games/steam/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/steam/doinst.sh')
-rw-r--r--games/steam/doinst.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/steam/doinst.sh b/games/steam/doinst.sh
index 976546b7e9..7f84c1434a 100644
--- a/games/steam/doinst.sh
+++ b/games/steam/doinst.sh
@@ -4,9 +4,9 @@ if [ -x usr/bin/update-desktop-database ]; then
fi
# Update hicolor theme cache:
-if [ -d usr/share/icons/hicolor ]; 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 -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi