[Piuparts-devel] Chroot.create_apt_conf

Herbert Fortes terberh at gmail.com
Thu Feb 21 16:17:11 GMT 2019


On 2/21/19 11:37 AM, Andreas Beckmann wrote:
> Did someone consider using
> 
> apt-config dump Acquire::http::Proxy
> 

What I should did at first.

It  seems that it is not necessary to get just the
http part.


if proxy:
lines.append('Acquire::http::Proxy "%s";\n' % proxy)

https://salsa.debian.org/debian/piuparts/blob/develop/piuparts.py#L1043




More information about the Piuparts-devel mailing list