more troubleshooting Terminus font use in CI environment

This commit is contained in:
nhmall
2025-11-10 08:52:06 -05:00
parent 157fcad161
commit efbc0d8f8f
2 changed files with 18 additions and 12 deletions

View File

@@ -227,13 +227,19 @@ if [ ! -d "$FONT_LFILE" ]; then
echo "Getting terminus fonts"
if [ "$(uname)" = "Darwin" ]; then
#Mac
curl -L $FONT_URL --output $FONT_RFILE
curl -s -L $FONT_URL --output $FONT_RFILE
else
# wget --quiet --no-hsts $FONT_URL
curl -L $FONT_URL --output $FONT_RFILE
curl --help all
curl -s -L $FONT_URL --output $FONT_RFILE
fi
ls -l
if [ -f "$FONT_RFILE" ]; then
tar -xvf $FONT_RFILE
rm $FONT_RFILE
else
echo "terminus fonts failed to download correctly to lib/$FONT_LFILE"
fi
tar -xvf $FONT_RFILE
rm $FONT_RFILE
else
echo "terminus fonts are already available in lib/$FONT_LFILE"
fi