On Saturday 19 October 2013 11:26:02 Francesco Poli wrote: [snip] > Then maybe you could set the http_proxy environment variable to the > value printed by /usr/share/squid-deb-proxy-client/apt-avahi-discover , > assuming that this does not break other programs that use this > environment variable... > > If you use a POSIX-compatible shell (such as GNU Bash) you could maybe > define the following function in a suitable ~/.profile : > > update_http_proxy() > { > http_proxy=`/usr/share/squid-deb-proxy-client/apt-avahi-discover` > export http_proxy > } > > or something similar... > > Then the command > > $ update_http_proxy > > could be used in order to set the http_proxy to an updated value, > whenever the box changes network. > > In case you test this workaround, please let me know whether it works > acceptably...
Excellent, this is indeed working :) And sorry for the late reply, busy week here :) -- Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.