#! /bin/sh
set -e

if [ "$1" = rtupdate ]; then
	py3clean -p xviewer-plugins /usr/lib/xviewer/plugins
	py3compile -p xviewer-plugins -V 3.12 /usr/lib/xviewer/plugins
fi