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 55b1cd3a8b7a3f0bd9cbdefbc1e5da61887250c9
Author: Ruben Undheim <ruben.undh...@gmail.com>
Date:   Sun Oct 11 21:26:05 2015 +0200

    Check that dir is not a symlink before moving dir.
---
 debian/openstreetmap-carto.preinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/openstreetmap-carto.preinst 
b/debian/openstreetmap-carto.preinst
index 45219d8..0753ded 100644
--- a/debian/openstreetmap-carto.preinst
+++ b/debian/openstreetmap-carto.preinst
@@ -16,7 +16,7 @@ set -e
 
 case "$1" in
     install|upgrade)
-        if [ -d /usr/share/openstreetmap-carto/data ] ; then
+        if [ -d /usr/share/openstreetmap-carto/data -a ! -L 
/usr/share/openstreetmap-carto/data ] ; then
             mv /usr/share/openstreetmap-carto/data 
/usr/share/openstreetmap-carto/data.old
         fi
     ;;

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