#!/bin/sh
set -e
# Automatically added by dh_ucf/13.6ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
	ucf --three-way "/usr/lib/libreoffice/share/.registry/pyuno.xcd" "/etc/libreoffice/registry/pyuno.xcd"
	ucfr --force python3-uno "/etc/libreoffice/registry/pyuno.xcd"
fi
# End automatically added section

# Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
	py3compile -p python3-uno:arm64 
fi
if command -v pypy3compile >/dev/null 2>&1; then
	pypy3compile -p python3-uno:arm64  || true
fi

# End automatically added section

# Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
	py3compile -p python3-uno:arm64 /usr/lib/libreoffice/program -V 3.10
fi
if command -v pypy3compile >/dev/null 2>&1; then
	pypy3compile -p python3-uno:arm64 /usr/lib/libreoffice/program -V 3.10 || true
fi

# End automatically added section
