#!/bin/bash

set -e

#INCLUDE_SHELL_LIB#

if [ "$1" = "upgrade" ]; then
	if dpkg --compare-versions "$2" lt "1:3.5.2-2"; then
		rm -rf /usr/lib/libreoffice/share/extensions/script-provider-for-python
		sync_extensions
	fi
fi

#DEBHELPER#

