mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
24 lines
514 B
Bash
24 lines
514 B
Bash
|
|
# If new packages are installed by BootstrapRpmPython3 below, this version
|
||
|
|
# number must be increased.
|
||
|
|
BOOTSTRAP_RPM_PYTHON3_VERSION=1
|
||
|
|
|
||
|
|
BootstrapRpmPython3() {
|
||
|
|
# Tested with:
|
||
|
|
# - CentOS 6
|
||
|
|
|
||
|
|
InitializeRPMCommonBase
|
||
|
|
|
||
|
|
# EPEL uses python34
|
||
|
|
if $TOOL list python34 >/dev/null 2>&1; then
|
||
|
|
python_pkgs="python34
|
||
|
|
python34-devel
|
||
|
|
python34-tools
|
||
|
|
"
|
||
|
|
else
|
||
|
|
error "No supported Python package available to install. Aborting bootstrap!"
|
||
|
|
exit 1
|
||
|
|
fi
|
||
|
|
|
||
|
|
BootstrapRpmCommonBase "$python_pkgs"
|
||
|
|
}
|