#!/bin/sh
p='reportbug'
f="/var/lib/dpkg/info/$p.list"
set -e
if [ ! -e "$f" ]; then exit 1; fi
cat "$f" | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | while read o; do if [ -e "$o" ]; then echo "$o"; fi; done
