mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Update _rpm_common.sh
fixes #1823 Add check for python-tools and python-pip
This commit is contained in:
parent
66dbd23f2b
commit
30db2372b5
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue