1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

Update _rpm_common.sh

fixes #1823
Add check for python-tools and python-pip
This commit is contained in:
Sorvani
2015-12-07 21:40:48 -06:00
committed by Erik Rose
parent 66dbd23f2b
commit 30db2372b5

View File

@@ -3,6 +3,7 @@
# Tested with:
# - Fedora 22, 23 (x64)
# - Centos 7 (x64: on DigitalOcean droplet)
# - CentOS 7 Minimal install in a Hyper-V VM
if type dnf 2>/dev/null
then
@@ -21,12 +22,16 @@ fi
if ! $tool install -y \
python \
python-devel \
python-virtualenv
python-virtualenv \
python-tools \
python-pip
then
if ! $tool install -y \
python27 \
python27-devel \
python27-virtualenv
python27-virtualenv \
python27-tools \
python27-pip
then
echo "Could not install Python dependencies. Aborting bootstrap!"
exit 1