mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-11-05 16:34:21 +00:00
This improves the support for apt http proxy.
It determines the value for 'http_proxy' by, in increasing importance:
* setting in apt.conf (per apt-config)
* environment variable 'http_proxy'
* command line flag '--debootstrap-proxy'
Then, if that is set, it makes use of it in
* initial call to debootstrap (environment variable passed through sudo)
* 'finish.sh' and subsequent invocation by writing config to
/etc/apt/config.d/
Thus, the value here is 'sticky' after the debootstrap invocation.