diff options
Diffstat (limited to 'debian/zinc-python/DEBIAN/prerm')
-rwxr-xr-x | debian/zinc-python/DEBIAN/prerm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/zinc-python/DEBIAN/prerm b/debian/zinc-python/DEBIAN/prerm new file mode 100755 index 0000000..6c9295a --- /dev/null +++ b/debian/zinc-python/DEBIAN/prerm @@ -0,0 +1,11 @@ +#! /bin/bash -e +# +# Debian prerm script for Python hierarchical modules +# Written by Gregor Hoffleit <flight@debian.org> +# + +NAME=zinc-python + +dpkg --listfiles $NAME | + awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | + xargs rm -f >&2 |