mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 14:54:24 -04:00
This wasn't always the case, but nowadays, _venv_common is a developer tool and has nothing to do with certbot-auto.
37 lines
802 B
Bash
Executable file
37 lines
802 B
Bash
Executable file
# If new packages are installed by BootstrapArchCommon below, this version
|
|
# number must be increased.
|
|
BOOTSTRAP_ARCH_COMMON_VERSION=1
|
|
|
|
BootstrapArchCommon() {
|
|
# Tested with:
|
|
# - ArchLinux (x86_64)
|
|
#
|
|
# "python-virtualenv" is Python3, but "python2-virtualenv" provides
|
|
# only "virtualenv2" binary, not "virtualenv".
|
|
|
|
deps="
|
|
python2
|
|
python-virtualenv
|
|
gcc
|
|
augeas
|
|
openssl
|
|
libffi
|
|
ca-certificates
|
|
pkg-config
|
|
"
|
|
|
|
# pacman -T exits with 127 if there are missing dependencies
|
|
missing=$(pacman -T $deps) || true
|
|
|
|
if [ "$ASSUME_YES" = 1 ]; then
|
|
noconfirm="--noconfirm"
|
|
fi
|
|
|
|
if [ "$missing" ]; then
|
|
if [ "$QUIET" = 1 ]; then
|
|
pacman -S --needed $missing $noconfirm > /dev/null
|
|
else
|
|
pacman -S --needed $missing $noconfirm
|
|
fi
|
|
fi
|
|
}
|