#! /bin/sh -e

pkg=elem

if [ ! "$1" = "configure" ]; then
	exit 0
fi

if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ] ; then
	ln -s ../share/doc/$pkg /usr/doc/$pkg
fi

if command -v install-docs >/dev/null 2>&1; then
	install-docs -i /usr/share/doc-base/elem
fi


