#!/bin/sh -e
  # postinst - generated by debian/rules
  #
  # symlink for doc dir generated by debian/rules 
if	[ "$1" = "configure" ] 
then	if	[ -d /usr/doc -a ! -e /usr/doc/libdb2 -a -d /usr/share/doc/libdb2 ] 
	then	ln -sf ../share/doc/libdb2 /usr/doc/libdb2 
	fi 
fi 
  #
  # call to ldconfig generated by debian/rules 
test configure = "$1" && ldconfig
  #
