Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $(whoami) != root ]; then
- echo "Please run this script as root or using sudo"
- exit
- fi
- apt-get install zenity curl
- mkdir steam-wheezy; cd steam-wheezy
- wget http://media.steampowered.com/client/installer/steam.deb
- sha1sum -c <<< "1f64f87f937d52230e9812ad26150f00aea9eac7 steam.deb" && \
- dpkg -X steam.deb steam && dpkg -e steam.deb steam/DEBIAN || exit
- sed -i 's/2.15/2.13/g' steam/DEBIAN/control
- dpkg -b steam steam-wheezy.deb
- dpkg -i steam-wheezy.deb
- rm /etc/apt/sources.list.d/steam*
- wget http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu10.5_i386.deb
- sha1sum -c <<< "d45fdd5c82d1ffed1ba63a394563243637ce1b97 libc6_2.15-0ubuntu10.5_i386.deb" && \
- dpkg -X libc6_2.15-0ubuntu10.5_i386.deb libc6_2.15
- cp -r libc6_2.15/lib/* /usr/lib/steam
- cat > /usr/bin/steam-debian <<EOF
- #!/bin/bash
- LD_LIBRARY_PATH=/usr/lib/steam/i386-linux-gnu/:usr/lib steam "$@"
- EOF
- chmod +x /usr/bin/steam-debian
- cd .. && rm -r steam-wheezy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement