13 lines
591 B
Bash
13 lines
591 B
Bash
#!/bin/bash
|
|
set -e
|
|
cd /tmp
|
|
# Montserrat (SemiBold) — шрифт из макета
|
|
if [ ! -f /tmp/Montserrat-SemiBold.ttf ]; then
|
|
curl -sSL --max-time 300 -o /tmp/Montserrat.ttf \
|
|
"https://github.com/google/fonts/raw/main/ofl/montserrat/Montserrat%5Bwght%5D.ttf" || true
|
|
curl -sSL --max-time 300 -o /tmp/Montserrat-SemiBold.ttf \
|
|
"https://github.com/google/fonts/raw/main/ofl/montserrat/static/Montserrat-SemiBold.ttf" || true
|
|
fi
|
|
ls -l /tmp/Montserrat-SemiBold.ttf 2>/dev/null || echo " semibold download failed"
|
|
file /tmp/Montserrat-SemiBold.ttf 2>/dev/null | head -1
|