mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
* Add version number to bootstrap scripts. * Always determine Bootstrap function and version. * Write bootstrap version into venv. * Add PrevBootstrapVersion function. * Add OS bootstrapping check to phase 2. * Differentiate -n and renew when rebootstrapping. * Quote all environment variables. * Correct test condition * Add loud warning about hardcoded version list. * s/VENV_BOOTSTRAP_VERSION/BOOTSTRAP_VERSION_PATH * Properly handle noop bootstrap functions.
26 lines
545 B
Bash
Executable file
26 lines
545 B
Bash
Executable file
# If new packages are installed by BootstrapSuseCommon below, this version
|
|
# number must be increased.
|
|
BOOTSTRAP_SUSE_COMMON_VERSION=1
|
|
|
|
BootstrapSuseCommon() {
|
|
# SLE12 don't have python-virtualenv
|
|
|
|
if [ "$ASSUME_YES" = 1 ]; then
|
|
zypper_flags="-nq"
|
|
install_flags="-l"
|
|
fi
|
|
|
|
if [ "$QUIET" = 1 ]; then
|
|
QUIET_FLAG='-qq'
|
|
fi
|
|
|
|
zypper $QUIET_FLAG $zypper_flags in $install_flags \
|
|
python \
|
|
python-devel \
|
|
python-virtualenv \
|
|
gcc \
|
|
augeas-lenses \
|
|
libopenssl-devel \
|
|
libffi-devel \
|
|
ca-certificates
|
|
}
|