#!/bin/sh
set -e
# Automatically added by dh_ucf/13.2.1
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 which py3compile >/dev/null 2>&1; then
	py3compile -p python3-uno 
fi
if which pypy3compile >/dev/null 2>&1; then
	pypy3compile -p python3-uno  || true
fi

# End automatically added section

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

# End automatically added section
