mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-11-25 16:47:37 +02:00
Fixes ShellCheck SC2076
This commit is contained in:
parent
b7e5f8e1ef
commit
e8f77401e4
@ -56,7 +56,7 @@ do
|
||||
|
||||
for font in "${FONTS[@]}"; do
|
||||
familyname=$(fc-query --format='%{family}' "${font}")
|
||||
if [[ ! "${families[*]}" =~ "${familyname}" ]]; then
|
||||
if [[ ! "${families[*]}" == *"${familyname}"* ]]; then
|
||||
# family array doesn't contain the font yet
|
||||
# so let's add it
|
||||
families+=("$familyname")
|
||||
|
Loading…
Reference in New Issue
Block a user