#!/bin/sh

set -e

if [ "$1" = install ] || [ "$1" = upgrade ]
then
    mkdir -p /usr/lib/python3/dist-packages/tryton-mt940/__pycache__
    dpkg-divert --add --package python-mt940 --rename \
        --divert /usr/lib/python3/dist-packages/tryton-mt940/__init__.py /usr/lib/python3/dist-packages/mt940/__init__.py

fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
