diff options
Diffstat (limited to 'debian/python-leap.common/DEBIAN/prerm')
-rwxr-xr-x | debian/python-leap.common/DEBIAN/prerm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/python-leap.common/DEBIAN/prerm b/debian/python-leap.common/DEBIAN/prerm new file mode 100755 index 0000000..702eec2 --- /dev/null +++ b/debian/python-leap.common/DEBIAN/prerm @@ -0,0 +1,14 @@ +#!/bin/sh +set -e + +# Automatically added by dh_python2: +if which pyclean >/dev/null 2>&1; then + pyclean -p python-leap.common +else + dpkg -L python-leap.common | grep \.py$ | while read file + do + rm -f "${file}"[co] >/dev/null + done +fi + +# End automatically added section |