~jderose/ubuntu/lucid/foomatic-db/fix-560518

Viewing all changes in revision 49.

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2009-09-18 12:54:23 UTC
  • Revision ID: james.westby@ubuntu.com-20090918125423-z3yj0rmpck07dyw6
Tags: 20090825-0ubuntu3
debian/foomatic-db.postinst, debian/openprinting-ppds.postinst,
debian/openprinting-ppds-extra.postinst: Fixed "lpstat -r" check for the
auto update of PPDs of existing queues. "lpstat -r" exits always with
status 0, we must check the actual output. Call lpstat, lpadmin, and
cupsctl with "-h /var/run/cups/cups.sock" to avoid querying remote
servers set up in /etc/cups/client.conf, and asking for passwords. 
Thanks to Martin-Éric Racine for tracking this down and the solution!
See Debian bug #543468. Use signal names instead of numbers for trap.
Quiesces a lintian bashism warning.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: