#! /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


