diff options
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index a33cfd41..25d4ad61 100644 --- a/scripts/functions +++ b/scripts/functions @@ -290,9 +290,10 @@ CT_GetFileExtension() { # Set environment for proxy access # Usage: CT_DoSetProxy <proxy_type> -# where proxy_type is one of 'none', 'http', 'sockssys', 'socks4' or 'socks5' +# where proxy_type is one of 'http', 'sockssys', 'socks4' or 'socks5', +# or empty (to not change proxy settings). CT_DoSetProxy() { - case "${CT_PROXY_TYPE}" in + case "${1}" in http) http_proxy="http://" case "${CT_PROXY_USER}:${CT_PROXY_PASS}" in |