#! /bin/bash

set -e

. /opt/open-xchange/etc/guipluginfunctions.sh
if ! grep com.openexchange.mail.accounts /var/www/ox6/plugins/static.conf>/dev/null; then
	# workaround bug 20281, broken prerm of previous version removes plug
	addPlug $DPKG_MAINTSCRIPT_PACKAGE
fi
if [ "$1" == "configure" ] && [ -z "$2" ]; then
	addPlug $DPKG_MAINTSCRIPT_PACKAGE	
fi


