/usr/share/apport/package-hooks/source_indicator-network.py is in indicator-network 0.7.1+16.04.20160406.1-0ubuntu1.
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 | import os.path
from apport.hookutils import *
from xdg.BaseDirectory import xdg_cache_home
def add_info(report):
if not apport.packaging.is_distro_package(report['Package'].split()[0]):
report['ThirdParty'] = 'True'
report['CrashDB'] = 'indicator_network'
attach_file_if_exists(report, os.path.join(xdg_cache_home, 'upstart', 'indicator-network.log'), 'indicator-network.log')
|