MINGW_INSTALL=mingw64

post_install() {
  if test ! -f ${MINGW_INSTALL}/etc/xml/catalog; then
    usr/bin/mkdir -p ${MINGW_INSTALL}/etc/xml
    ${MINGW_INSTALL}/bin/xmlcatalog --noout --create ${MINGW_INSTALL}/etc/xml/catalog
  fi
}

post_upgrade() {
  post_install
}
