tags 834976 + patch thanks Patch attached.
Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/auto-apt-proxy b/auto-apt-proxy index c822c43..d2a29ab 100755 --- a/auto-apt-proxy +++ b/auto-apt-proxy @@ -16,8 +16,8 @@ hit() { } detect_apt_cacher_ng() { - local ip="$1" - local proxy=http://$ip:3142 + ip="$1" + proxy=http://$ip:3142 if hit -o "Acquire::http::Proxy::${ip}=none" "$proxy" | grep -q -i '406.*usage.information'; then echo "$proxy" exit