summaryrefslogtreecommitdiff
path: root/debian/python-leap.common/DEBIAN/prerm
blob: 702eec2d0809f956614dc18ccba477fc71c69d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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