[osm-tile-server] 32/117: Small fix
Ruben Undheim
rubund-guest at moszumanska.debian.org
Tue Nov 3 23:18:17 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 e04bbb0678dd11e8365eb2f29d73c469ea061afa
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Thu Sep 3 19:08:07 2015 +0200
Small fix
---
debian/osm-tile-server-base.postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/osm-tile-server-base.postinst b/debian/osm-tile-server-base.postinst
index 633c584..c9c6fab 100644
--- a/debian/osm-tile-server-base.postinst
+++ b/debian/osm-tile-server-base.postinst
@@ -74,7 +74,7 @@ case "$1" in
cp /usr/share/openstreetmap-carto/style.xml /usr/share/openstreetmap-carto/style-osm-tile-server.xml
- sed -i 's/\(dbname">.*CDATA\)\[[^\]*\]/\1\[test\]\]/' /usr/share/openstreetmap-carto/style-osm-tile-server.xml
+ sed -i 's/\(dbname">.*CDATA\)\[[^\]*\]/\1\['${DBNAME}'\]\]/' /usr/share/openstreetmap-carto/style-osm-tile-server.xml
if [ "$IMPORTSAMPLE" = "true" ] ; then
su $DBUSER -c "osm2pgsql --slim -d $DBNAME --cache-strategy sparse -C 100 --hstore -S /usr/share/osm2pgsql/default.style /usr/share/osm-tile-server-base/samples/liechtenstein-latest.osm.pbf"
--
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