mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
update version 0.6.1
This commit is contained in:
+7
-7
@@ -57,12 +57,14 @@ fi
|
||||
PATH_DISTS="$ROOT/dists"
|
||||
PATH_ETC="$ROOT/etc"
|
||||
|
||||
mkdir -p $PATH_DISTS
|
||||
rm -rf $PATH_DISTS/pythonbrew.tar.gz
|
||||
rm -rf $PATH_DISTS/utahta-pythonbrew*
|
||||
STABLE_VERSION=`curl -sL https://github.com/utahta/pythonbrew/raw/master/stable-version.txt`
|
||||
TEMP_FILE="pythonbrew-$STABLE_VERSION"
|
||||
TEMP_TARBALL="$TEMP_FILE.tar.gz"
|
||||
DOWNLOAD_URL="http://pypi.python.org/packages/source/p/pythonbrew/$TEMP_TARBALL"
|
||||
|
||||
TEMP_TARBALL="pythonbrew.tar.gz"
|
||||
DOWNLOAD_URL="http://github.com/utahta/pythonbrew/tarball/master"
|
||||
mkdir -p $PATH_DISTS
|
||||
rm -rf $PATH_DISTS/$TEMP_TARBALL
|
||||
rm -rf $PATH_DISTS/$TEMP_FILE
|
||||
|
||||
echo "Downloading $DOWNLOAD_URL"
|
||||
builtin cd $PATH_DISTS ; curl -sL $DOWNLOAD_URL -o "$TEMP_TARBALL"
|
||||
@@ -70,8 +72,6 @@ builtin cd $PATH_DISTS ; curl -sL $DOWNLOAD_URL -o "$TEMP_TARBALL"
|
||||
echo "Extracting $PATH_DISTS/$TEMP_TARBALL"
|
||||
builtin cd $PATH_DISTS ; tar zxf $TEMP_TARBALL
|
||||
|
||||
TEMP_FILE=`ls $PATH_DISTS | grep utahta-pythonbrew`
|
||||
|
||||
echo "Installing pythonbrew into $ROOT"
|
||||
$PYTHON $PATH_DISTS/$TEMP_FILE/pythonbrew_install.py
|
||||
if [[ $? == 1 ]] ; then
|
||||
|
||||
Reference in New Issue
Block a user