On 19.4.2010 1:52, Ron Johnson wrote: > On 2010-04-18 17:20, Richard Hartmann wrote: >> Hi all, >> >> I was wondering if there was any such thing as an opportunistic apt >> source. >> ... >> Does anything like the above exist? > > I'd use symlinks, where sources.list points to either sources.list.home, > sources.list.work or sources.list.internet, and a short script to flip > between them.
In addition to Ron's flip script maybe use some heuristics to determine which network you're connected to and write a small wrapper to apt-get/aptitude or a script to /etc/network/if-up.d that flips the symlink to correct sources.list automagically. -- Juha Tuuna -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bcc0c59.1040...@iki.fi