From 1a28d13e1c716aa3319abacf0f205eb5d47502f1 Mon Sep 17 00:00:00 2001 From: Dominique Lasserre Date: Wed, 24 Jan 2018 23:19:37 +0100 Subject: [PATCH] Update README (proxy) * Nothing needs to be changed on side of apt-fast. It's up to the system configuration now. --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 2ddc9bf..6925165 100644 --- a/README.md +++ b/README.md @@ -200,10 +200,7 @@ _DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCO Change the download manager or add additional options to aria2c. #### Proxy #### -```sh -_DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} --http-proxy=http://username:password@proxy_ip:proxy_port -i ${DLLIST}' -``` -To use apt-fast behind a proxy, use `--http-proxy` option of aria2c and set username, password and proxy_port accordingly. +apt-fast uses APT's proxy settings (`Acquire::http::proxy`, `Acquire::https::proxy`, `Acquire::ftp::proxy`) and if those are not available, the environment settings (`http_proxy`, `https_proxy`, `ftp_proxy`). Refer to APT's or the system's documentation. ### Download folder ###