From: Dennis 'Gyroplast' Herbrich <[email protected]>

Add support for wget no-proxy option in URLs.

Signed-off-by: Dennis 'Gyroplast' Herbrich <[email protected]>
---
 scripts/lib/ptxd_make_get.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh
index f91d1fb..914b3d5 100644
--- a/scripts/lib/ptxd_make_get.sh
+++ b/scripts/lib/ptxd_make_get.sh
@@ -27,7 +27,7 @@ ptxd_make_get_http() {
                shift
 
                case "${opt}" in
-                       no-check-certificate)
+                       no-check-certificate|no-proxy)
                                opts[${#opts[@]}]="--${opt}"
                                ;;
                        *)
@@ -112,6 +112,7 @@ export -f ptxd_make_get_download_permitted
 #
 # valid options:
 # - no-check-certificate       don't check server certificate (https only)
+# - no-proxy                   don't use proxy even if configured
 #
 ptxd_make_get() {
        local -a argv
-- 
1.7.9.4


-- 
ptxdist mailing list
[email protected]

Reply via email to