#!/bin/sh
# Remove the bytecode that postinst wrote, which dpkg does not know about and which would otherwise keep the package's
# folders from being removed. Runs before a removal and before an upgrade, as dh_python3's prerm does.
set -e

if command -v py3clean >/dev/null 2>&1; then
  py3clean -p duotape
fi
