use apt-get -o Acquire::http::Proxy rather than http_proxy environment variable

Information

ID: 310
PHID: PHID-TASK-5qsrwo7ofafygaiuhb3u
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

Consideration.

Inspired by Marek:
https://github.com/marmarek/qubes-builder-debian/pull/10/files

Conditionally adding

-o Acquire::http::Proxy=$(REPO_PROXY)

to apt_misc_opts seems a bit nicer than using aptcachemaybeenable and aptcachedisable.

Comments


Patrick

2015-08-15 17:46:30 UTC