Sha256: 16bd590b04ad7a4277db1ca255c5c394526e196750b56eec691a160069d419cd

Contents?: true

Size: 895 Bytes

Versions: 21

Compression:

Stored size: 895 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"
  HTTPS_PROXY=$https_proxy
  https_proxy=$https_proxy
  export HTTPS_PROXY
  export https_proxy
fi

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

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

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
mixlib-install-3.12.30 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.29 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.28 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.27 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.24 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.23 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.20 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.19 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.16 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.15 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.11 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.7 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.5 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.3 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.12.1 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.11.29 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.11.28 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.11.26 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.11.24 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh
mixlib-install-3.11.21 lib/mixlib/install/generator/bourne/scripts/proxy_env.sh