a proxy might also be specified using .wgetrc, so don't switch off the proxy explicitly

svn path=/trunk/; revision=19194
This commit is contained in:
Ulf Lamping 2006-09-11 22:37:46 +00:00
parent a56edc8e34
commit 32bc691d97
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ case "$1" in
echo "****** $PACKAGE ******"
if [ -z "$http_proxy" -a -z "$HTTP_PROXY" ] ; then
echo "No HTTP proxy specified (http_proxy and HTTP_PROXY are empty)."
use_proxy="-Y off"
# a proxy might also be specified using .wgetrc, so don't switch off the proxy
#use_proxy="-Y off"
else
use_proxy="-Y on"
if [ -z "$http_proxy" ] ; then