[osm-tile-server] 47/117: Select whether it should be done now or later
Ruben Undheim
rubund-guest at moszumanska.debian.org
Tue Nov 3 23:18:19 UTC 2015
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 e48cd9dad73fda2c91b03eae934269dd137de5f3
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Fri Sep 4 00:05:22 2015 +0200
Select whether it should be done now or later
---
debian/osm-tile-server-base.config | 3 +++
debian/osm-tile-server-base.templates | 8 ++++++++
2 files changed, 11 insertions(+)
diff --git a/debian/osm-tile-server-base.config b/debian/osm-tile-server-base.config
index 524cf2d..42ab833 100644
--- a/debian/osm-tile-server-base.config
+++ b/debian/osm-tile-server-base.config
@@ -39,6 +39,9 @@ if [ "$DONOW" = "true" ] ; then
fi
db_go
+ db_input high osm-tile-server/do_it_now || true
+ db_go
+
else
db_input high osm-tile-server/import-sample || true
db_set osm-tile-server/download-map None
diff --git a/debian/osm-tile-server-base.templates b/debian/osm-tile-server-base.templates
index d6b0470..dc32a3f 100644
--- a/debian/osm-tile-server-base.templates
+++ b/debian/osm-tile-server-base.templates
@@ -67,3 +67,11 @@ Type: select
__Choices: None, Africa, Antarctica, Asia, Australia and Oceania, Central America, Europe, North America, South America
Default: None
_Description: Select continent:
+
+Template: osm-tile-server/do_it_now
+Type: select
+__Choices: Later, Now; will take some time
+Default: Later
+_Description: Do you want to download and import immediately or defer it to later?
+ Since downloading and importing may take some time, it is advicable to start it afterwards by running the "osm-tile-server-process" command after this configuration is done.
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm-tile-server.git
More information about the Pkg-grass-devel
mailing list