B612.sh 281 B

123456789101112
  1. #!/bin/sh
  2. cd "$(dirname "${0}")" || exit 1
  3. for fo in Regular Bold Italic BoldItalic
  4. do
  5. for fmt in woff2 woff
  6. do
  7. f="B612-${fo}.${fmt}"
  8. curl --location --create-dirs --output "./${f}" --remote-time --time-cond "assets/${f}" "http://b612-font.com/fonts/${f}"
  9. done
  10. done