Commit 013f160b by devttys0

Added sudo and comments to easy_install.sh

parent a6ed41fb
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
function libmagic function libmagic
{ {
SITE="ftp://ftp.astron.com/pub/file/" SITE="ftp://ftp.astron.com/pub/file/"
# 5.11 is the most recent version that builds out of the box on OSX.
VERSION="5.11" VERSION="5.11"
OUTFILE="file-$VERSION.tar.gz" OUTFILE="file-$VERSION.tar.gz"
URL="$SITE$OUTFILE" URL="$SITE$OUTFILE"
...@@ -54,7 +55,7 @@ function darwin ...@@ -54,7 +55,7 @@ function darwin
{ {
if [ "$(which easy_install)" == "" ] if [ "$(which easy_install)" == "" ]
then then
curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | python curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | sudo python
fi fi
if [ "$(which easy_install)" != "" ] if [ "$(which easy_install)" != "" ]
...@@ -129,6 +130,7 @@ then ...@@ -129,6 +130,7 @@ then
libmagic libmagic
fi fi
# FMK doesn't support OSX.
if [ "$DISTRO" != "darwin" ] if [ "$DISTRO" != "darwin" ]
then then
# Get and build the firmware mod kit # Get and build the firmware mod kit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment