#! /bin/sh
set -e

if [ "${BASEDIR:=/}" != "/" ]; then
	exit 0
fi

#DEBHELPER#

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