function postinstall {
  INDEXHTML="${WWWROOT}/index.html"
  vardebug INDEXHTML
  [ -f "${INDEXHTML}" ] || bail_out "File >${INDEXHTML}< missing."
  sed -i'' "s%GAWATI_PROXY:\"[^\"]*\"%GAWATI_PROXY:\"https://data.${GAWATI_URL_ROOT}\"%g" "${INDEXHTML}"
  sed -i'' "s%GAWATI_DOCUMENT_SERVER:\"[^\"]*\"%GAWATI_DOCUMENT_SERVER:\"https://media.${GAWATI_URL_ROOT}\"%g" "${INDEXHTML}"
  sed -i'' "s%GAWATI_PROFILE_SERVER:\"[^\"]*\"%GAWATI_PROFILE_SERVER:\"https://${GAWATI_URL_ROOT}/profiles\"%g" "${INDEXHTML}"
  }


function postinstall {
  INDEXHTML="${WWWROOT}/index.html"
  vardebug INDEXHTML
  [ -f "${INDEXHTML}" ] || bail_out "File >${INDEXHTML}< missing."
  sed -i'' "s%GAWATI_PROXY:\"[^\"]*\"%GAWATI_PROXY:\"https://data.${GAWATI_URL_ROOT}\"%g" "${INDEXHTML}"
  }


Remove obsolete entries (now delivered by gawati-portal-fe)
Remove obsolete entries (now delivered by gawati-portal-fe)
