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 9145d00d6bcefa883e709de87ff06bc94bf3f295
Author: Ruben Undheim <ruben.undh...@gmail.com>
Date:   Sun Oct 11 22:13:06 2015 +0200

    Move data.old to /usr/share/openstreetmap-carto-common/data if it exists
---
 debian/openstreetmap-carto-common.postinst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/openstreetmap-carto-common.postinst 
b/debian/openstreetmap-carto-common.postinst
index 884ac15..f138a1e 100755
--- a/debian/openstreetmap-carto-common.postinst
+++ b/debian/openstreetmap-carto-common.postinst
@@ -9,6 +9,10 @@ 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
+elif [ -d /usr/share/openstreetmap-carto/data.old ] &&
+     [ ! -L /usr/share/openstreetmap-carto/data.old ] &&
+     [ ! -e /usr/share/openstreetmap-carto-common/data ] ; then
+    mv /usr/share/openstreetmap-carto/data.old 
/usr/share/openstreetmap-carto-common/data
 fi
 
 #DEBHELPER#

-- 
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

Reply via email to