chore: shellcheck
This commit is contained in:
parent
a8ec6b83e2
commit
7295fd6057
@ -12,10 +12,9 @@ fonts+=("DejaVuSansMono")
|
||||
test -d "${fontdir}" || mkdir -p "${fontdir}"
|
||||
|
||||
# Download fonts
|
||||
for font in "${fonts[@]}"
|
||||
do
|
||||
wget -q -O /tmp/${font}.zip "https://github.com/ryanoasis/nerd-fonts/releases/latest/download/${font}.zip" && cd ${fontdir} && unzip -u /tmp/${font}.zip && rm /tmp/${font}.zip
|
||||
for font in "${fonts[@]}"; do
|
||||
wget -q -O "/tmp/${font}.zip" "https://github.com/ryanoasis/nerd-fonts/releases/latest/download/${font}.zip" && cd "${fontdir}" && unzip -u "/tmp/${font}.zip" && rm "/tmp/${font}.zip"
|
||||
done
|
||||
|
||||
# Refresh cache
|
||||
fc-cache --force --verbose ${fontdir}
|
||||
fc-cache --force --verbose "${fontdir}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user