Skip to content

Commit

Permalink
install / docker script changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mapmeld committed Jan 29, 2024
1 parent 431a50d commit 524c5e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ For more details, see the documentation at [fonts.mss](style/fonts.mss).
To download the fonts, run the following script

```
scripts/get-fonts.sh
scripts/get-fonts.py
```

## Dependencies
Expand Down
2 changes: 1 addition & 1 deletion scripts/change-fonts-cjk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mkdir -p "${FONTDIR}"
# download filename url
download() {
## Download if newer, and if curl fails, clean up and exit
curl --fail --compressed -A "get-fonts.sh/osm-carto" -o "$1" -z "$1" -L "$2" || { echo "Failed to download $1 $2"; rm -f "$1"; exit 1; }
curl --fail --compressed -A "change-fonts-cjk.sh/osm-carto" -o "$1" -z "$1" -L "$2" || { echo "Failed to download $1 $2"; rm -f "$1"; exit 1; }
}

case "$1" in
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ EOF
scripts/get-external-data.py $EXTERNAL_DATA_SCRIPT_FLAGS

# Download fonts
scripts/get-fonts.sh
scripts/get-fonts.py
;;

kosmtik)
Expand Down

0 comments on commit 524c5e4

Please sign in to comment.