Linux Steam script finally has error checking for unset variables
I just fired up steam and let it upgrade, then exited and restarted for unrelated reasons, and found that it wouldn't start at all. Running in a terminal gave me the output:
STEAM_RUNTIME is disabled by the user
/mnt/data/Steam/steam.sh: line 713: LD_LIBRARY_PATH: unbound variable
Looks like they added:
set -e
set -o pipefail
shopt -s failglob
set -u
to the top of the script now. So at least there is no need to worry about the old rm -rf "$STEAMROOT/"* destroying everything. Now it just doesn't run at all if you have steam runtime disabled. Luckily there's an easy work-around for that: https://github.com/ValveSoftware/steam-for-linux/issues/3697
About this post
- Posted
- Archived
- Score
- 52 · 100% up
- Kind
- Text
- ID
- 2uho7x