Skip to content

Commit

Permalink
Adding check for x86_64.
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopch committed Aug 31, 2010
1 parent 80fba85 commit 4a3e3b7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions setup/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,15 @@ info "Installing essential Apache build packages and Python library dependencies
$PIP install Flask || critical "Could not download/install Flask module"

# simpleapi
install_apache_package python-profiler
# simpleapi depends on this, but doesn't explicitly state it(!) and installation errors out, so install it first.
$PIP install python-dateutil || critical "Could not download/install dateutil module"
$PIP install simpleapi || critical "Could not download/install simpleapi module"
if [[ $(uname -a) =~ "x86_64" ]]
then
warning "There is no python-profiler on x86_64, so not installing simpleapi"
else
install_apache_package python-profiler
# simpleapi depends on this, but doesn't explicitly state it(!) and installation errors out, so install it first.
$PIP install python-dateutil || critical "Could not download/install dateutil module"
$PIP install simpleapi || critical "Could not download/install simpleapi module"
fi

cd "$SITE_CODE_DIR/$APP_NAME"

Expand Down

0 comments on commit 4a3e3b7

Please sign in to comment.