Rather than a package hook I recommend creating an apport symptom called touch. Apport would be called via 'ubuntu-bug touch' and then the symptom could help diagnose the problem, identify configuration errors, find the right package and report the bug.
Apport symptoms live in the package apport-symptoms and can be found in /usr/share/apport/symptoms. Both the storage and audio symptoms are examples of what can be accomplished with a symptom.
Rather than a package hook I recommend creating an apport symptom called touch. Apport would be called via 'ubuntu-bug touch' and then the symptom could help diagnose the problem, identify configuration errors, find the right package and report the bug.
Apport symptoms live in the package apport-symptoms and can be found in /usr/share/ apport/ symptoms. Both the storage and audio symptoms are examples of what can be accomplished with a symptom.