OAM: copy fonts folder to the system fonts folder

This commit is contained in:
nobohan 2023-07-06 08:06:36 +02:00
parent ed9a401409
commit 24d1b5709d

3
run.sh
View File

@ -18,6 +18,8 @@ function compileStyle() {
# mv symbols folder
mkdir /data/img/
mv /data/style/OpenArdenneMap/img/* /data/img/
# copy fonts
cp /data/style/OpenArdenneMap/fonts/* /usr/share/fonts/
# change dbname
sed -i 's/"dbname": "osmpg_db",/"dbname": "gis",/g' ./OpenArdenneMap/osm2pgsql/project.mml
# TODO add Alphabet font?
@ -48,7 +50,6 @@ fi
set -x
if [ "$1" == "terminal" ]; then
bash
fi