mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2026-09-10 07:36:35 -04:00
casks: Switch to tar.xz archives
[why] The xz archives are much smaller than the zip archives, so they should probably used to install fonts. The tar.xz's are supported through MacOS's `tar` nowadays, so there should be no problem anymore with installing the Casks. See also the discussion in the Issue. Note that there are still only very few font-Casks that use xz, and looking on all core Casks, it is still only very few. Fixes: #1918 Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
b45b554366
commit
6c5f2ad485
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# Nerd Fonts Version: 3.4.0
|
||||
# Script Version: 2.3.0
|
||||
# Script Version: 2.4.0
|
||||
#
|
||||
# Iterates over all [*] archived fonts
|
||||
# to generate ruby cask files for homebrew-fonts (https://github.com/Homebrew/homebrew-cask)
|
||||
|
|
@ -63,7 +63,7 @@ function write_header {
|
|||
printf "cask \"%s\" do\\n" "$caskname"
|
||||
printf " version \"%s\"\\n" "$version"
|
||||
printf " sha256 \"%s\"\\n\\n" "$sha256sum"
|
||||
printf " url \"%s%s.zip\"\\n" "$downloadarchive" "$basename"
|
||||
printf " url \"%s%s.tar.xz\"\\n" "$downloadarchive" "$basename"
|
||||
} >> "$outputfile"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue