mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-13 03:03:33 +02:00
casks: Allow for new reduced naming [skip ci]
[why]
For the fix in commit
d3ee35db
name-parser: Unify abbreviations in family names
we dropped the alternative Family name with 'Nerd Font' in the cases
where the ID1/2 Family is just 'NF' (and equivalents).
The current cask generator will not find the family then anymore.
[how]
Also allow 'NF' as string, but that might trigger in the wrong places,
so not so nice.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
fc61e44268
commit
d7ec2036d4
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Nerd Fonts Version: 3.1.0
|
# Nerd Fonts Version: 3.1.0
|
||||||
# Script Version: 2.2.1
|
# Script Version: 2.2.2
|
||||||
#
|
#
|
||||||
# Iterates over all [*] archived fonts
|
# Iterates over all [*] archived fonts
|
||||||
# to generate ruby cask files for homebrew-fonts (https://github.com/caskroom/homebrew-fonts)
|
# to generate ruby cask files for homebrew-fonts (https://github.com/caskroom/homebrew-fonts)
|
||||||
@ -79,7 +79,7 @@ function find_nerdish_family {
|
|||||||
if [ -z "$fn" ]; then
|
if [ -z "$fn" ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [[ "${fn}" == *Nerd* ]]; then
|
if [[ "${fn}" == *Nerd* ]] || [[ "${fn}" == *NF* ]]; then
|
||||||
echo "${fn}"
|
echo "${fn}"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user