Update google-fonts.sh
This commit is contained in:
parent
f25b712ff8
commit
0d3d2ebebe
1 changed files with 0 additions and 2 deletions
|
|
@ -12,8 +12,6 @@ for FONT in "${FONTS[@]}"; do
|
|||
FONT="${FONT%"${FONT##*[![:space:]]}"}" # Trim trailing whitespace
|
||||
mkdir -p "${DEST}/${FONT}"
|
||||
|
||||
FILE_REFS=()
|
||||
|
||||
readarray -t "FILE_REFS" < <(
|
||||
if output=$(curl -s "https://fonts.google.com/download/list?family=${FONT// /%20}" | tail -n +2); then
|
||||
if FILE_REFS=$(echo "$output" | jq -c '.manifest.fileRefs[]' 2>/dev/null); then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue