mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
This makes the script more readable and easier to work on. We'll stitch it together with a build process. Also, stop passing the sudo command as an arg to the experimental bootstrappers. They will be inlined into the main script and can just reference $SUDO. As a result, stop recommending devs run the scripts manually, instead running le-auto --os-packages-only. This has the nice side effect of making dev documentation simpler. Name the folder "letsencrypt_auto" rather than "letsencrypt-auto" because git yield endless pain when replacing a file with a dir. Perhaps we can change it with impunity in a latter commit.
28 lines
436 B
Bash
Executable File
28 lines
436 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=$("$SUDO" pacman -T $deps)
|
|
|
|
if [ "$missing" ]; then
|
|
"$SUDO" pacman -S --needed $missing
|
|
fi
|