#!/bin/sh

set -e

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