mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 19:36:20 -05:00
We always need to generate the mapnik file.
This commit is contained in:
parent
1d9ea98a84
commit
b775bd0b32
1 changed files with 1 additions and 3 deletions
|
|
@ -39,9 +39,7 @@ chmod 0440 /etc/sudoers.d/90-wrolpi
|
|||
visudo -c -f /etc/sudoers.d/90-wrolpi
|
||||
|
||||
git clone https://github.com/lrnselfreliance/openstreetmap-carto.git /opt/openstreetmap-carto
|
||||
if [[ ! -f /opt/openstreetmap-carto/mapnik.xml || ! -s /opt/openstreetmap-carto/mapnik.xml ]]; then
|
||||
(cd /opt/openstreetmap-carto && carto project.mml >/opt/openstreetmap-carto/mapnik.xml)
|
||||
fi
|
||||
(cd /opt/openstreetmap-carto && carto project.mml >/opt/openstreetmap-carto/mapnik.xml)
|
||||
|
||||
# Change default postgresql port to 5432.
|
||||
sed -i 's/port = 5433/port = 5432/' /etc/postgresql/15/main/postgresql.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue