mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 00:54:40 +00:00
steam: fix bootstrap tarball with non-default steamroot
This removes the hardcoded Steam root in the bootstrap fixer, which lets it work even if the user has moved their Steam root to somewhere other than the default location.
This commit is contained in:
parent
f46237b072
commit
25fcab1554
@ -60,8 +60,8 @@ let
|
||||
# bootstrap.tar.xz has 444 permissions, which means that simple deletes fail
|
||||
# and steam will not be able to start
|
||||
fixBootstrap = ''
|
||||
if [ -r $HOME/.local/share/Steam/bootstrap.tar.xz ]; then
|
||||
chmod +w $HOME/.local/share/Steam/bootstrap.tar.xz
|
||||
if [ -r $HOME/.steam/steam/bootstrap.tar.xz ]; then
|
||||
chmod +w $HOME/.steam/steam/bootstrap.tar.xz
|
||||
fi
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user