summaryrefslogtreecommitdiffstats
path: root/debian/apport-hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'debian/apport-hook.py')
-rw-r--r--debian/apport-hook.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/apport-hook.py b/debian/apport-hook.py
new file mode 100644
index 0000000..9af35ae
--- /dev/null
+++ b/debian/apport-hook.py
@@ -0,0 +1,15 @@
+'''apport package hook for pulseaudio
+
+(c) 2009 Canonical Ltd.
+Author:
+Matt Zimmerman <mdz@ubuntu.com>
+
+'''
+
+from apport.hookutils import *
+import re
+
+def add_info(report):
+ attach_alsa(report)
+ recent_syslog(re.compile(r'pulseaudio\['))
+ attach_conffiles(report, 'pulseaudio')