Generate apt.conf files with correct content, fixes bug 1088805.

Change-Id: I26b855260fdfc472179774779558ed7f0947da6c
This commit is contained in:
Robert Collins 2012-12-11 21:22:43 +13:00
parent ae1e74acd8
commit 7afabfb06e

View File

@ -10,5 +10,5 @@ if [ -n "$http_proxy" ]; then
echo export no_proxy=192.0.2.1 >> ~stack/.profile
echo export http_proxy=$http_proxy >> ~stack/.profile
fi
echo Acquire::http::Proxy \"$http_proxy\"; > /etc/apt/apt.conf.d/61-use-http-proxy
echo "Acquire::http::Proxy \"$http_proxy\";" > /etc/apt/apt.conf.d/61-use-http-proxy
fi