/usr/share/apport/package-hooks/conky.py is in conky-all 1.9.0-4.
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 14 15 16 17 18 19 20 21 | '''apport package hook for conky
Collect conky conf file, conky user's conf file and any specified lua script
Copyright 2009 Cesare Tirabassi <norsetto@ubuntu.com>
'''
from apport.hookutils import *
from os import path
import re
def add_info(report):
attach_conffiles(report, 'conky')
conkyrc_path = path.expanduser('~/.conkyrc')
if path.exists(conkyrc_path):
attach_file(report, conkyrc_path)
for file in re.findall("^lua_load\s+(.*?)$",
open(conkyrc_path).read(),
re.MULTILINE):
attach_file_if_exists(report, file)
|