|
|
@ -30,7 +30,7 @@ $STD apt-get -y install \
|
|
|
|
git
|
|
|
|
git
|
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Python"
|
|
|
|
msg_info "Updating Python"
|
|
|
|
$STD apt-get install -y \
|
|
|
|
$STD apt-get install -y \
|
|
|
|
python3 \
|
|
|
|
python3 \
|
|
|
|
python3-dev \
|
|
|
|
python3-dev \
|
|
|
@ -39,8 +39,9 @@ python3-venv \
|
|
|
|
python3-cffi \
|
|
|
|
python3-cffi \
|
|
|
|
python3-certbot \
|
|
|
|
python3-certbot \
|
|
|
|
python3-certbot-dns-cloudflare
|
|
|
|
python3-certbot-dns-cloudflare
|
|
|
|
|
|
|
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
|
|
|
$STD python3 -m venv /opt/certbot/
|
|
|
|
$STD python3 -m venv /opt/certbot/
|
|
|
|
msg_ok "Installed Python"
|
|
|
|
msg_ok "Updated Python"
|
|
|
|
|
|
|
|
|
|
|
|
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
|
|
|
|
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
|
|
|
|
|
|
|
|
|
|
|
|