[openstreetmap-carto] 01/01: Set openstreetmap-carto/fetch-data to false after completing download of shapefiles

Ruben Undheim rubund-guest at moszumanska.debian.org
Sun Oct 11 11:58:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository openstreetmap-carto.

commit 3349f1749129667949a466a075bd54d9a39df78e
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sun Oct 11 13:53:43 2015 +0200

    Set openstreetmap-carto/fetch-data to false after completing download of shapefiles
    
    If this is not done, new shapefiles will be downloaded every update of the package.
    This often requires quite some time. It is better to let the user decide when to
    update the shapefiles by either running the get-shapefiles.sh script directly,
    or by running "dpkg-reconfigure openstreetmap-carto-common" and select that
    shapefiles should be downloaded.
---
 debian/openstreetmap-carto-common.postinst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/openstreetmap-carto-common.postinst b/debian/openstreetmap-carto-common.postinst
index 06bf8ce..884ac15 100755
--- a/debian/openstreetmap-carto-common.postinst
+++ b/debian/openstreetmap-carto-common.postinst
@@ -8,6 +8,7 @@ set -e
 db_get openstreetmap-carto/fetch-data
 if [ "$RET" = "true" ]; then
     cd /usr/share/openstreetmap-carto-common/ && ./get-shapefiles.sh
+    db_set openstreetmap-carto/fetch-data false
 fi
 
 #DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/openstreetmap-carto.git



More information about the Pkg-grass-devel mailing list