#!/bin/sh

# Make sure errors report (since we try to weed out potential spurious ones)
set -e

if [ "$1" = configure ]; then
    # Make sure ld knows about the new library
    ldconfig
fi

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/libncurses4 -a -d /usr/share/doc/libncurses4 ]; then
		ln -sf ../share/doc/libncurses4 /usr/doc/libncurses4
	fi
fi
# End automatically added section

