mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
`pacman -T` exists for this exact purpose; it respects provides without having to manually code them into the script.
28 lines
420 B
Bash
Executable File
28 lines
420 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Tested with:
|
|
# - ArchLinux (x86_64)
|
|
#
|
|
# "python-virtualenv" is Python3, but "python2-virtualenv" provides
|
|
# only "virtualenv2" binary, not "virtualenv" necessary in
|
|
# ./bootstrap/dev/_common_venv.sh
|
|
|
|
deps="
|
|
git
|
|
python2
|
|
python-virtualenv
|
|
gcc
|
|
dialog
|
|
augeas
|
|
openssl
|
|
libffi
|
|
ca-certificates
|
|
pkg-config
|
|
"
|
|
|
|
missing=$(pacman -T $deps)
|
|
|
|
if [ "$missing" ]; then
|
|
pacman -S --needed $missing
|
|
fi
|