Merge "Install libssl-dev and libffi-dev"

This commit is contained in:
Jenkins 2016-06-02 19:06:28 +00:00 committed by Gerrit Code Review
commit d2eca085b1

View File

@ -36,6 +36,12 @@ if [ -x '/usr/bin/apt-get' ]; then
sudo -H apt-get -y install python-virtualenv
fi
fi
if ! $(dpkg -l libssl-dev &>/dev/null); then
sudo -H apt-get -y install libssl-dev
fi
if ! $(dpkg -l libffi-dev &>/dev/null); then
sudo -H apt-get -y install libffi-dev
fi
elif [ -x '/usr/bin/yum' ]; then
if ! $(python --version $>/dev/null); then
sudo -H yum -y install python