aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-20 17:09:25 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-23 07:48:06 +0700
commit9b795af18c315d5b716f2a6b2bfa2f17ceda83bb (patch)
treeff39912d0662a4bced86456a608e42ad07d56b48 /games
parent0ca2cd43a82577a1791e5ecf826281a2efc8e7f6 (diff)
games/steam: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-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 976546b7e9074..7f84c1434a6d5 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