mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
complete-readmes: Do not detect blanks as "name change"
[why] When we rename "Envy Code R" to "EnvyCodeR" this is detected as RFN relevant name change, which it is not. [how] Compare the blank removed lower cased names. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
57f17e23bc
commit
0eef3a89f9
1 changed files with 4 additions and 2 deletions
|
@ -81,9 +81,11 @@ do
|
|||
then
|
||||
config_rfn=$(echo "$fontdata" | jq -r .unpatchedName)
|
||||
config_rfn_substitue=$(echo "$fontdata" | jq -r .patchedName)
|
||||
if [ "${config_rfn}" = "${config_rfn_substitue}" ]
|
||||
check_config_rfn=$(tr '[:upper:]' '[:lower:]' <<< "$config_rfn" | tr -d ' ')
|
||||
check_config_rfn_sub=$(tr '[:upper:]' '[:lower:]' <<< "$config_rfn_substitue" | tr -d ' ')
|
||||
if [ "${check_config_rfn}" = "${check_config_rfn_sub}" ]
|
||||
then
|
||||
# Only the case with Mononoki which is RFN but we do not rename (we got the permission to keep the name)
|
||||
# Only the case with Mononoki and Envy Code R which is RFN but we do not rename (we got the permission to keep the name)
|
||||
unset config_rfn
|
||||
unset config_rfn_substitue
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue