Sha256: ab3d6edfe405c58e7cda28459ff1f5bba47643d8310c7fa6253f61183db02bff

Contents?: true

Size: 795 Bytes

Versions: 11

Compression:

Stored size: 795 Bytes

Contents

# All of the download utilities in this script load common proxy env vars.
# If variables are set they will override any existing env vars.
# Otherwise, default proxy env vars will be loaded by the respective
# download utility.

if test "x$https_proxy" != "x"; then
  echo "setting https_proxy: $https_proxy"
  export HTTPS_PROXY=$https_proxy
  export https_proxy=$https_proxy
fi

if test "x$http_proxy" != "x"; then
  echo "setting http_proxy: $http_proxy"
  export HTTP_PROXY=$http_proxy
  export http_proxy=$http_proxy
fi

if test "x$ftp_proxy" != "x"; then
  echo "setting ftp_proxy: $ftp_proxy"
  export FTP_PROXY=$ftp_proxy
  export ftp_proxy=$ftp_proxy
fi

if test "x$no_proxy" != "x"; then
  echo "setting no_proxy: $no_proxy"
  export NO_PROXY=$no_proxy
  export no_proxy=$no_proxy
fi

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mixlib-install-3.11.12 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.11.11 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.11.5 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.11.2 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.10.0 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.9.4 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.9.3 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.9.0 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.8.0 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.7.0 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.6.0 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh