summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-python
blob: 0dc12731b4a8b4a2b14912fc84254ca59fc08457 (plain)
1
2
3
4
5
if [ "$1" = remove ]; then
	dpkg -L #PACKAGE# |
		awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
		xargs rm -f >&2
fi