OAM: copy fonts folder to the system fonts folder
This commit is contained in:
parent
ed9a401409
commit
24d1b5709d
3
run.sh
3
run.sh
@ -18,6 +18,8 @@ function compileStyle() {
|
|||||||
# mv symbols folder
|
# mv symbols folder
|
||||||
mkdir /data/img/
|
mkdir /data/img/
|
||||||
mv /data/style/OpenArdenneMap/img/* /data/img/
|
mv /data/style/OpenArdenneMap/img/* /data/img/
|
||||||
|
# copy fonts
|
||||||
|
cp /data/style/OpenArdenneMap/fonts/* /usr/share/fonts/
|
||||||
# change dbname
|
# change dbname
|
||||||
sed -i 's/"dbname": "osmpg_db",/"dbname": "gis",/g' ./OpenArdenneMap/osm2pgsql/project.mml
|
sed -i 's/"dbname": "osmpg_db",/"dbname": "gis",/g' ./OpenArdenneMap/osm2pgsql/project.mml
|
||||||
# TODO add Alphabet font?
|
# TODO add Alphabet font?
|
||||||
@ -48,7 +50,6 @@ fi
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ "$1" == "terminal" ]; then
|
if [ "$1" == "terminal" ]; then
|
||||||
|
|
||||||
bash
|
bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user