File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,3 @@ export PYGEOAPI_OPENAPI=/opt/msc-pygeoapi/conf/msc-pygeoapi-openapi.yml
4343
4444mkdir -p $XDG_CACHE_HOME
4545chown -R geoadm.geoadm $XDG_CACHE_HOME
46-
47- # prepare hydrometric realtime
48- # msc-pygeoapi data hydrometric_realtime cache-stations
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ override_dh_auto_configure:
2727 # Set version in theme/templates/_base.html
2828 sed -i "s/MSC_PYGEOAPI_VERSION/$(MSC_PYGEOAPI_VERSION)/" theme/templates/_base.html
2929
30+ # Remove extra slashes in OpenAPI local OGC API schema URLs
31+ sed -i "s/\/\/schemas\/ogc/\/schemas\/ogc/g" deploy/default/msc-pygeoapi-openapi.yml
32+
3033 # Download themes-gcweb.zip, check if downloaded, and unzip
3134 curl -L https://github.com/wet-boew/GCWeb/releases/download/v14.6.0/themes-dist-14.6.0-gcweb.1.zip -o ./themes-gcweb.zip
3235 test -f ./themes-gcweb.zip || { echo "themes-gcweb.zip not found!"; exit 1; }
@@ -46,4 +49,4 @@ override_dh_auto_test:
4649
4750override_dh_clean :
4851 dh_clean
49- rm -rf debian/schemas.opengis.net/ogcapi/* .zip
52+ rm -rf debian/schemas.opengis.net/ogcapi/* .zip
You can’t perform that action at this time.
0 commit comments