summaryrefslogtreecommitdiff
path: root/debian/apport-hook.py
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@debian.org>2012-11-17 14:44:19 +0100
committerSjoerd Simons <sjoerd@debian.org>2012-11-17 15:41:45 +0100
commitfeedc40c42c024a50df5e8087d9e053870a30e9a (patch)
tree17463c301d4e11734d7ad891fa5204673d661bc6 /debian/apport-hook.py
parent32ed077aad463ab4c7474040dea94c33f9f12001 (diff)
debian/{pulseaudio.install,apport-hook.py}: Install apport hook
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')