Guest User

this

a guest
May 16th, 2010
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.17 KB | None | 0 0
  1. #!/bin/sh
  2. DIR=~/steam-linux
  3. mkdir -p "$DIR"
  4. cd "$DIR"
  5. wget -qO- http://store.steampowered.com/public/client/steam_client_linux|awk -F\" '/file/&&/steam_linux/{print $4}'|wget -P package -i- -NB http://store.steampowered.com/public/client/
  6. unzip -o package/*.zip.\*
  7. mkdir -p patch
  8. wget -qO- http://www.steamonlinux.com/mirror/patches|tee patch/series|awk '{print $2}'|wget -P patch -i- -NB http://www.steamonlinux.com/mirror/
  9. mkdir -p override
  10. wget -qO- http://www.steamonlinux.com/mirror/overrides|tee override/series|awk '{print $2}'|sort -u|wget -P override -i- -NB http://store.steampowered.com/public/client/
  11. chmod +x steam.sh linux32/steam
  12. echo Universe = store.steampowered.com/public/client/steam_client_linux > steam.cfg
  13. ./steam.sh
  14. cat override/series|while read f p; do
  15.  unzip -o override/"$p" "$f"
  16. done
  17. chmod +x steam.sh linux32/steam
  18. cat patch/series|while read f p; do
  19.  bspatch $f $f patch/$p
  20. done
  21. echo BootStrapperInhibitAll = enable >> steam.cfg
  22. sed 's|\(${DEBUGGER}\)|LD_PRELOAD=`echo linux32/*.so` \1|' steam.sh > run.sh
  23. sed -i '1a\rm -vf ~/[sS]steamstore.steampowered.com/public/client/steam_client_linux/ClientRegistry.blob' run.sh
  24. chmod +x run.sh
  25. ./run.sh "$@"
Advertisement
Add Comment
Please, Sign In to add comment