Skip to content
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.

Commit

Permalink
Don't install python-dev, make sure UNZIP var is set after installing…
Browse files Browse the repository at this point in the history
… unzip
  • Loading branch information
aw committed Sep 21, 2013
1 parent 9f3bf73 commit 030d0c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions provisioning/vagrant/bootstrap_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#
# Copyright (c) 2013 Alex Williams, Unscramble <[email protected]>

UNZIP=`which unzip`
TAR=`which tar`

fail_and_exit() {
Expand All @@ -13,9 +12,11 @@ fail_and_exit() {
}

# Install some dependencies
apt-get install -y python-dev python-pip unzip && \
apt-get install -y python-pip unzip && \
pip install PyYAML Jinja2 || fail_and_exit

UNZIP=`which unzip`

pushd /root
# Extract ansible and install it
$TAR -zxvf v1.3.0.tar.gz || fail_and_exit
Expand Down

0 comments on commit 030d0c9

Please sign in to comment.