~smoser/maas/vdenv-updates

Viewing all changes in revision 764.

  • Committer: Scott Moser
  • Date: 2012-07-19 03:44:00 UTC
  • Revision ID: smoser@ubuntu.com-20120719034400-ztmvj15ao964yibh
vdenv: system-setup relax the dpkg-query output parsing.

on 12.04:
 $ dpkg-query --show non-existant-package grep
 grep    2.10-1
 No packages found matching non-existant-package.

on 12.10:
 $ dpkg-query --show non-existant-package grep
 grep    2.12-2
 dpkg-query: no packages found matching non-existant-package

Just relax the parsing of the "no packages" to match both.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: