From d65956b40cb3b4c1ba21b54d2e5184d67c27cbe9 Mon Sep 17 00:00:00 2001 From: Paweł Zuzelski Date: Fri, 21 Aug 2009 11:57:02 +0200 Subject: Pass proxy_url to download handler Pass the value of proxy_url variable as optional 9th argument of download handler. Added support for http proxy to the example download handler script. Updated README file. --- examples/data/uzbl/scripts/download.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples') diff --git a/examples/data/uzbl/scripts/download.sh b/examples/data/uzbl/scripts/download.sh index aa1ca09..c8eb6ba 100755 --- a/examples/data/uzbl/scripts/download.sh +++ b/examples/data/uzbl/scripts/download.sh @@ -8,6 +8,9 @@ GET="wget --user-agent=Firefox" dest="$HOME" url="$8" +http_proxy="$9" +export http_proxy + test "x$url" = "x" && { echo "you must supply a url! ($url)"; exit 1; } # only changes the dir for the $get sub process -- cgit v1.2.3