1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00
Files
certbot/bootstrap/_arch_common.sh
Mantas Mikulėnas 724d06eec5 bootstrap: use a proper dependency test for Arch
`pacman -T` exists for this exact purpose; it respects provides without
having to manually code them into the script.
2015-10-30 17:11:55 +02:00

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