On 2010-07-13, T o n g <[email protected]> wrote: > Hi, > > Instead of specifying the caching machine in a file like /etc/apt/ > apt.conf.d/02proxy, is it possible to set the apt caching server via some > environment variable? > > I want to find a way to setup my laptop so that it use my local caching > server at home, yet easily to switch to direct connection when elsewhere. >
apt-get and aptitude respect the environment variables http_proxy and ftp_proxy. -- Liam O'Toole Cork, Ireland -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

