#!/bin/sh
# Byte-compile duotape's modules for the system's Python versions, as dh_python3 does for Debian's own packages:
# an ordinary user cannot write bytecode into dpkg's folder, so without this every command compiles from source.
set -e

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