#!/bin/sh
set -e

if [ "$1" = "configure" ]; then
  if [ -d /usr/doc -a ! -e /usr/doc/xcall -a -d /usr/share/doc/xcall ]; then
    ln -sf ../share/doc/xcall /usr/doc/xcall
  fi
fi
