[-]
[+]
|
Changed |
steam.changes
|
|
[-]
[+]
|
Changed |
steam.spec
^
|
|
[-]
[+]
|
Changed |
fetch-steam.sh.in
^
|
@@ -8,6 +8,8 @@
CURL_OPTIONS="-L -s --speed-limit 3500 --speed-time 15"
+version="__VERSION__"
+
if [ ! -f /usr/bin/id -o ! -f /usr/bin/ar ]; then
echo "Running in non-chrooted (install into directory) mode... Exit safely."
exit 0
@@ -57,7 +59,7 @@
pushd $tmpdir &> /dev/null
for i in $useserver $SERVER; do
- archive=http://$i/steam_1.0.0.25.tar.gz
+ archive=http://$i/steam_${version}.tar.gz
file=`echo $archive|awk -F "/" '{print $NF}'`
rm -f $file
echo "$file ($archive):"
@@ -75,9 +77,9 @@
if [ "x$success" != "x" ]; then
# Extract
- tar -xzf steam_1.0.0.25.tar.gz
- rm steam_1.0.0.25.tar.gz
- cd steam-1.0.0.25
+ tar -xzf steam_${version}.tar.gz
+ rm steam_${version}.tar.gz
+ cd steam-${version}
# Install into system root.
make install-bin install-docs install-icons install-bootstrap install-desktop
# TODO: Patch it so it works with yum/zypper or at least does not invoke apt-get.
|