#! /bin/sh
set -e

if [ "$1" = rtupdate ]; then
	py3clean -p rhythmbox-plugins /usr/lib/x86_64-linux-gnu/rhythmbox
	py3compile -p rhythmbox-plugins -V 3.8 /usr/lib/x86_64-linux-gnu/rhythmbox
fi