#!/bin/sh

set -e

# Replace documentation directory with symlink
docdir=/usr/share/doc/cyrus-clients-2.2
target=cyrus-common

if [ -d $docdir ] && [ ! -L $docdir ]; then
	if rmdir $docdir 2>/dev/null; then
		ln -sf $target $docdir
	fi
fi

#DEBHELPER#

exit 0
