From 406902acb193175bee84fb7acb103a8fcb1d3af6 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Thu, 16 Dec 2021 13:11:56 +0100 Subject: [PATCH] private certificates for Python (Pip, Poetry) --- dot_bashrc.d/{python.bashrc => python.bashrc.tmpl} | 4 ++++ 1 file changed, 4 insertions(+) rename dot_bashrc.d/{python.bashrc => python.bashrc.tmpl} (84%) diff --git a/dot_bashrc.d/python.bashrc b/dot_bashrc.d/python.bashrc.tmpl similarity index 84% rename from dot_bashrc.d/python.bashrc rename to dot_bashrc.d/python.bashrc.tmpl index e8ce7d6..91e23fa 100644 --- a/dot_bashrc.d/python.bashrc +++ b/dot_bashrc.d/python.bashrc.tmpl @@ -16,4 +16,8 @@ if [ -d "$HOME/.poetry/bin" ]; then export PATH="$HOME/.poetry/bin:$PATH" fi +if [ -f "{{ .extra_ca_cert }}" ]; then + export REQUESTS_CA_BUNDLE={{ .extra_ca_cert }} +fi +