mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
Update _rpm_common.sh
fixes #1823 Add check for python-tools and python-pip
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
# Tested with:
|
# Tested with:
|
||||||
# - Fedora 22, 23 (x64)
|
# - Fedora 22, 23 (x64)
|
||||||
# - Centos 7 (x64: on DigitalOcean droplet)
|
# - Centos 7 (x64: on DigitalOcean droplet)
|
||||||
|
# - CentOS 7 Minimal install in a Hyper-V VM
|
||||||
|
|
||||||
if type dnf 2>/dev/null
|
if type dnf 2>/dev/null
|
||||||
then
|
then
|
||||||
@@ -21,12 +22,16 @@ fi
|
|||||||
if ! $tool install -y \
|
if ! $tool install -y \
|
||||||
python \
|
python \
|
||||||
python-devel \
|
python-devel \
|
||||||
python-virtualenv
|
python-virtualenv \
|
||||||
|
python-tools \
|
||||||
|
python-pip
|
||||||
then
|
then
|
||||||
if ! $tool install -y \
|
if ! $tool install -y \
|
||||||
python27 \
|
python27 \
|
||||||
python27-devel \
|
python27-devel \
|
||||||
python27-virtualenv
|
python27-virtualenv \
|
||||||
|
python27-tools \
|
||||||
|
python27-pip
|
||||||
then
|
then
|
||||||
echo "Could not install Python dependencies. Aborting bootstrap!"
|
echo "Could not install Python dependencies. Aborting bootstrap!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user