-
Notifications
You must be signed in to change notification settings - Fork 0
/
fds-assets.sh
executable file
·26 lines (22 loc) · 1.01 KB
/
fds-assets.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
FONTS=(
"https://static.frag-den-staat.de/static/fonts/fontawesome-webfont.eot"
"https://static.frag-den-staat.de/static/fonts/fontawesome-webfont.woff2"
"https://static.frag-den-staat.de/static/fonts/fontawesome-webfont.woff"
"https://static.frag-den-staat.de/static/fonts/fontawesome-webfont.ttf"
"https://static.frag-den-staat.de/static/fonts/Inter-Bold-latin.woff2"
"https://static.frag-den-staat.de/static/fonts/Inter-Bold-latin.woff"
"https://static.frag-den-staat.de/static/fonts/Inter-Regular-latin-ext.woff2"
"https://static.frag-den-staat.de/static/fonts/Inter-Regular-latin-ext.woff"
"https://static.frag-den-staat.de/static/fonts/Inter-SemiBold-latin-ext.woff2"
"https://static.frag-den-staat.de/static/fonts/Inter-SemiBold-latin-ext.woff"
)
mkdir -p public/fds/css
mkdir -p public/fds/fonts
cd public/fds/css
curl "https://static.frag-den-staat.de/static/css/main.css" | sed "s/\/static\//\/frontex-assets\/fds\//g" > main.css
cd ../fonts
for font in "${FONTS[@]}"
do
wget "$font"
done