Advertisement
Guest User

Untitled

a guest
Dec 14th, 2016
600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. #!/bin/sh
  2. # Copyright (C) 2013-2014 Michael Gilbert <mgilbert@debian.org>
  3. # License: MIT
  4.  
  5. set -e
  6.  
  7. real=/usr/games/steam.real
  8. config=$HOME/.steam
  9. ubuntu32=$config/ubuntu12_32
  10. exe=$ubuntu32/steam
  11.  
  12. find $config/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -delete
  13.  
  14. # launch steam / do an initial update when the exe does not already exist
  15. test ! -d $config && rm -rf $config && mkdir -p $config || true
  16. test ! -x $config/steam.sh && rm -rf $config/package $exe || true
  17. test ! -d $ubuntu32 && rm -rf $ubuntu32 && mkdir -p $ubuntu32 || true
  18. test ! -x $exe && rm -rf $exe && cp $real $exe && $ubuntu32/steam || true
  19. test -x $config/steam.sh && $config/steam.sh "$@" 2>$config/error.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement