if [ -x /usr/bin/update-mime-database ]; then
  /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

( cd usr/lib ; rm -rf libmirage.so.10 )
( cd usr/lib ; ln -sf libmirage.so.10.0.0 libmirage.so.10 )
( cd usr/lib ; rm -rf libmirage.so )
( cd usr/lib ; ln -sf libmirage.so.10 libmirage.so )
( cd usr/doc/libmirage-3.0.4 ; rm -rf html )
( cd usr/doc/libmirage-3.0.4 ; ln -sf ../../share/gtk-doc/html/libmirage html )
