From b18dba83a451550811e174f034491fdaa6743522 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Sat, 9 Aug 2025 20:24:18 +0200 Subject: [PATCH] Fix steam-ln Signed-off-by: Nikolaos Karaolidis --- hosts/common/configs/user/gui/gaming/steam/steam-ln.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/common/configs/user/gui/gaming/steam/steam-ln.sh b/hosts/common/configs/user/gui/gaming/steam/steam-ln.sh index 50731dd..d780ea4 100644 --- a/hosts/common/configs/user/gui/gaming/steam/steam-ln.sh +++ b/hosts/common/configs/user/gui/gaming/steam/steam-ln.sh @@ -26,7 +26,7 @@ is_excluded() { } for game in "$STEAM"/*/; do - name=$(basename "$game") + name="$(basename "$game")" if is_excluded "$name"; then echo "Excluding $name from symlink creation." @@ -47,13 +47,13 @@ for game in "$STEAM"/*/; do done for link in "$GAMES"/*; do - target=$(readlink -f "$link") + target="$(readlink -f "$link" || echo "")" if [[ ! "$target" == "$STEAM/"* ]]; then continue fi - name=$(basename "$target") + name="$(basename "$target")" if [[ -e "$target" ]] && ! is_excluded "$name"; then continue