Merge branch 'master' of ssh://apo.geoffray-levasseur.org/share/services/git/legos

This commit is contained in:
levasseur
2021-09-15 16:58:08 +02:00
5 changed files with 75 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ load_configuration
process_commandline_and_vars
# Declare proxy system vars if needed and if not already declared
if [[ -n $PROXYSRV && -n $PROXYSRVPORT ]]; then
if [[ -n $PROXYSRV && -n $PROXYSRVPORT && -z $NO_PROXY ]]; then
export http_proxy=${http_proxy:-"http://$PROXYSRV:$PROXYSRVPORT/"}
export https_proxy=${https_proxy:-"http://$PROXYSRV:$PROXYSRVPORT/"}
fi