Skip to content

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

52 points0 comments
Open on Reddit
About this post
Posted
Archived
Score
52 · 100% up
Kind
Text
ID
2uho7x

Author

11
posts
686
comments
2
media
View profile
Nobody had commented when we saved it.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.