1
0
Fork 0
mirror of https://github.com/Luzifer/mapshare.git synced 2024-11-09 13:40:00 +00:00
mapshare/ci/fontawesome.sh

14 lines
401 B
Bash
Raw Normal View History

2020-01-06 20:56:17 +00:00
#!/bin/bash
set -euxo pipefail
# Ensure deletion of older version
rm -rf frontend/fontawesome
# Download and unpack fontawesome-free
curl -sSfLo frontend/fa.zip "https://use.fontawesome.com/releases/v${FA_VERSION}/fontawesome-free-${FA_VERSION}-web.zip"
unzip frontend/fa.zip -d frontend
rm frontend/fa.zip
# Move to generic path
mv frontend/fontawesome-free-${FA_VERSION}-web frontend/fontawesome