~ubuntu-branches/ubuntu/quantal/update-notifier/quantal

Viewing all changes in revision 157.

  • Committer: Package Import Robot
  • Author(s): Steve Langasek
  • Date: 2012-04-13 03:49:10 UTC
  • Revision ID: package-import@ubuntu.com-20120413034910-mcsgimr71vhm20xi
Tags: 0.119ubuntu7
* Use <proto>_proxy environment variables to choose the proxy to use for
  data downloads, not the apt proxy settings, because apt may be
  configured to point at a package-specific proxy.  This makes proxy
  configuration a little less convenient than before for the
  flashplugin-installer package, but it at least it makes it possible to
  have a different proxy setting for packages vs. arbitrary data
  downloads, which otherwise we don't have any way to support.
  LP: #979477.
* Stop processing after a fatal download error, not just a transient one,
  so that we can't be tricked into feeding a partial list of files to a
  handler.  Thanks to Kees Cook for spotting the bug.  LP: #979426.
* Flush stdout before calling subprocess, so that log output makes more
  sense.
* Print a more meaningful status message when downloading, instead of just
  a bare URL.
* Check for existence of /usr/lib/update-notifier/package-data-downloader
  before trying to run it from our cron job, so that the package doesn't
  generate error messages when removed but not purged.
* The action for our notification should call gksu instead of trying to
  run the command directly without root access.  This is imperfect because
  kubuntu won't have gksudo available by default, but it's an improvement
  over failing for everybody.  LP: #976761.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: