#! /bin/sh -e

if [ "$1" = "configure" ]; then
  # remove a dangling symlink probably left over from the libstdc++2.9 package
  if [ -L /usr/lib/libstdc++.so.2.9 -a ! -e /usr/lib/libstdc++.so.2.9 ]; then
    rm /usr/lib/libstdc++.so.2.9
  fi

  ldconfig
fi

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

