This is an automated email from the git hooks/post-receive script. rubund-guest pushed a commit to branch master in repository osm-tile-server.
commit 7f1b1ad166b5516f499ce1066682cea7f46e37bd Author: Ruben Undheim <ruben.undh...@gmail.com> Date: Thu Sep 3 23:55:59 2015 +0200 Added continents --- debian/osm-tile-server-base.config | 38 +++++++++++++++++++-- debian/osm-tile-server-base.templates | 63 +++++++++++++++++++++++++++++++---- 2 files changed, 93 insertions(+), 8 deletions(-) diff --git a/debian/osm-tile-server-base.config b/debian/osm-tile-server-base.config index 739742d..fe2365f 100644 --- a/debian/osm-tile-server-base.config +++ b/debian/osm-tile-server-base.config @@ -4,9 +4,43 @@ set -e . /usr/share/debconf/confmodule +CONFIGTYPEQUESTION=2 +BACKSTATE=4 db_input high osm-tile-server/db-name || true -db_input high osm-tile-server/import-sample || true -db_input high osm-tile-server/download-map || true +db_input high osm-tile-server/action-now || true db_go +db_get osm-tile-server/action-now +DONOW=$RET +if [ "$DONOW" = "true" ] ; then + db_set osm-tile-server/import-sample false + db_input high osm-tile-server/continent || true + db_go + db_get osm-tile-server/continent + CONTINENT=$RET + if [ "$CONTINENT" = "Asia" ] ; then + db_input high osm-tile-server/country_asia || true + elif [ "$CONTINENT" = "Europe" ] ; then + db_input high osm-tile-server/country_europe || true + elif [ "$CONTINENT" = "South America" ] ; then + db_input high osm-tile-server/country_samerica || true + elif [ "$CONTINENT" = "North America" ] ; then + db_input high osm-tile-server/country_namerica || true + elif [ "$CONTINENT" = "Africa" ] ; then + db_input high osm-tile-server/country_africa || true + elif [ "$CONTINENT" = "Australia and Oceania" ] ; then + db_input high osm-tile-server/country_australia || true + elif [ "$CONTINENT" = "Central America" ] ; then + db_input high osm-tile-server/country_camerica || true + elif [ "$CONTINENT" = "Antarctica" ] ; then + db_input high osm-tile-server/country_antarctica || true + fi + db_go + +else + db_input high osm-tile-server/import-sample || true + db_set osm-tile-server/download-map None + db_go +fi + exit 0 diff --git a/debian/osm-tile-server-base.templates b/debian/osm-tile-server-base.templates index aede854..d6b0470 100644 --- a/debian/osm-tile-server-base.templates +++ b/debian/osm-tile-server-base.templates @@ -7,12 +7,63 @@ _Description: Enter name of postgresql database to use for the tile server: Template: osm-tile-server/import-sample Type: boolean Default: false -_Description: Should a test OSM file be imported into the database? - If YES, a map of Liechtenstein will be imported so that it will be - available to test. +_Description: Should a test OSM file (Liechtenstein) be imported into the database? -Template: osm-tile-server/download-map +Template: osm-tile-server/action-now +Type: boolean +Default: false +_Description: Do you want to select area to import now? + +Template: osm-tile-server/country_europe +Type: select +__Choices: None, Germany, Norway, Sweden +Default: None +_Description: Select which area to download and import: + +Template: osm-tile-server/country_asia +Type: select +__Choices: None, China, India, Russia +Default: None +_Description: Select which area to download and import: + +Template: osm-tile-server/country_namerica +Type: select +__Choices: None, Canada, USA +Default: None +_Description: Select which area to download and import: + +Template: osm-tile-server/country_samerica +Type: select +__Choices: None, Bolivia, Venezuela +Default: None +_Description: Select which area to download and import: + +Template: osm-tile-server/country_camerica Type: select -Choices: Do nothing, Germany, Norway, Sweden -Default: Do nothing +__Choices: None, Costa Rica, Mexico +Default: None _Description: Select which area to download and import: + +Template: osm-tile-server/country_africa +Type: select +__Choices: None, Egypt, South Africa +Default: None +_Description: Select which area to download and import: + +Template: osm-tile-server/country_australia +Type: select +__Choices: None, Australia, New Zealand +Default: None +_Description: Select which area to download and import: + +Template: osm-tile-server/country_antarctica +Type: select +__Choices: None +Default: None +_Description: Select which area to download and import: + +Template: osm-tile-server/continent +Type: select +__Choices: None, Africa, Antarctica, Asia, Australia and Oceania, Central America, Europe, North America, South America +Default: None +_Description: Select continent: -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm-tile-server.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel