#! /bin/sh
set -e

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