~ubuntu-branches/ubuntu/jaunty/cups/jaunty

« back to all changes in this revision

Viewing changes to debian/local/apport-hook.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-02-27 09:16:01 UTC
  • Revision ID: james.westby@ubuntu.com-20090227091601-ly14kgkg0grtiuiz
Tags: 1.3.9-14ubuntu2
* Add debian/local/apport-hook.py: Apport package hook, thanks to
  Brian Murray! Install it in debian/rules if we build for Ubuntu.
  (LP: #334080)
* debian/rules: Move init script priority to 50, so that cups starts later
  in the boot sequence. There is no reason why it should start so early
  (before e. g. gdm). Do the transition on upgrades in debian/cups.postinst.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''apport package hook for cups
 
2
 
 
3
(c) 2009 Canonical Ltd.
 
4
Author: Brian Murray <brian@ubuntu.com>
 
5
'''
 
6
 
 
7
from apport.hookutils import *
 
8
 
 
9
def add_info(report):
 
10
    attach_hardware(report)
 
11
    attach_printing(report)