/usr/share/apport/package-hooks/gwibber-service.py is in gwibber-service 3.4.0-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | '''apport package hook for gwibber-service
(c) 2010 Canonical Ltd.
Author: Ken VanDine <ken.vandine@ubuntu.com>
'''
from apport.hookutils import *
from os import path, getenv
def add_info(report):
cache_dir = getenv('XDG_CACHE_HOME', path.expanduser('~/.cache/gwibber/'))
log_file = path.join(cache_dir, 'gwibber.log')
attach_file_if_exists(report, log_file, 'gwibber.log')
|