#!/bin/sh

GS_VERSION="2.26.0"

wget -c --progress=dot:mega \
   -O geoserver-$GS_VERSION-bin.zip \
   "http://sourceforge.net/projects/geoserver/files/GeoServer/$GS_VERSION/geoserver-$GS_VERSION-bin.zip/download"

wget --progress=dot:mega \
  -O "geoserver-$GS_VERSION-htmldoc.zip" \
  "http://sourceforge.net/projects/geoserver/files/GeoServer/$GS_VERSION/geoserver-$GS_VERSION-htmldoc.zip/download"

wget --progress=dot:mega \
  -O "geoserver-$GS_VERSION-inspire-plugin.zip" \
  "http://sourceforge.net/projects/geoserver/files/GeoServer/$GS_VERSION/extensions/geoserver-$GS_VERSION-inspire-plugin.zip/download"

wget --progress=dot:mega \
  -O "geoserver-$GS_VERSION-css-plugin.zip" \
  "http://sourceforge.net/projects/geoserver/files/GeoServer/$GS_VERSION/extensions/geoserver-$GS_VERSION-css-plugin.zip/download"

wget --progress=dot:mega \
  -O "geoserver-$GS_VERSION-netcdf-plugin.zip" \
  "http://sourceforge.net/projects/geoserver/files/GeoServer/$GS_VERSION/extensions/geoserver-$GS_VERSION-netcdf-plugin.zip/download"

wget --progress=dot:mega \
  -O "geoserver-$GS_VERSION-vectortiles-plugin.zip" \
  "http://sourceforge.net/projects/geoserver/files/GeoServer/$GS_VERSION/extensions/geoserver-$GS_VERSION-vectortiles-plugin.zip/download"

