#! /bin/sh
set -e

if [ "$1" = rtupdate ]; then
	py3clean -p calibre /usr/lib/calibre
	py3compile -p calibre -V 3.7- /usr/lib/calibre
fi
