debian/source_byobu.py usr/share/apport/package-hooks

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-07-09 13:37:00 -05:00
commit 061a8a841f
3 changed files with 16 additions and 2 deletions

4
debian/changelog vendored
View file

@ -1,8 +1,8 @@
byobu (2.20) unreleased; urgency=low
* UNRELEASED
* debian/source_byobu.py: add apport hooks for byobu
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 07 Jul 2009 01:30:05 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 09 Jul 2009 13:31:15 -0500
byobu (2.19-0ubuntu1) karmic; urgency=low

1
debian/install vendored
View file

@ -21,4 +21,5 @@ byobu-launcher-uninstall usr/share/byobu
motd+shell usr/bin
byobu-launcher usr/bin
byobu-export usr/bin
debian/source_byobu.py usr/share/apport/package-hooks
debian/lintian/byobu usr/share/lintian/overrides

13
debian/source_byobu.py vendored Normal file
View file

@ -0,0 +1,13 @@
'''apport package hook for byobu
(c) 2009 Canonical Ltd.
Author: Dustin Kirkland <kirkland@canonical.com>
'''
from apport.hookutils import *
from os import path
def add_info(report):
attach_related_packages(report, ['byobu*', 'screen*'])
report['Binaries'] = command_output(['ls', '-alF', '/usr/bin/screen*', '/usr/bin/byobu*'])
attach_file_if_exists(report, path.expanduser('~/.screenrc'), 'ScreenRC')