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 3f9c5b2eae4f611c6fa3b2828802dabbc86528b3
Author: Ruben Undheim <ruben.undh...@gmail.com>
Date:   Tue Sep 8 18:38:49 2015 +0200

    Set ServerName also when it has been set before
---
 debian/osm-tile-server-tilelite.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/osm-tile-server-tilelite.postinst 
b/debian/osm-tile-server-tilelite.postinst
index 0de3a59..7535e30 100644
--- a/debian/osm-tile-server-tilelite.postinst
+++ b/debian/osm-tile-server-tilelite.postinst
@@ -28,7 +28,7 @@ case "$1" in
 
         chown $DBUSER:$DBUSER /var/cache/osm-tile-server-tilelite
 
-        sed -i 's/SERVERNAME/'$SERVERNAME'/' 
/etc/apache2/sites-available/osm-tile-server-tilelite.conf
+        sed -i 's/^ServerName.*/ServerName '$SERVERNAME'/' 
/etc/apache2/sites-available/osm-tile-server-tilelite.conf
 
         a2ensite osm-tile-server-tilelite.conf
         

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