1
0
Fork 0
mirror of https://github.com/Luzifer/sii.git synced 2024-12-30 12:11:15 +00:00
sii/cmd/sii-editor/ci/fontawesome.sh

14 lines
401 B
Bash
Raw Normal View History

#!/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