#! /bin/sh
set -e
if [ "${BASEDIR:=/}" = "/" ]; then
	BASEDIR=""
fi

#DEBHELPER#

find ${BASEDIR}/usr/share/dh-python/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
