Use symlinks for font installation to ~/Library/Fonts/

Homebrew sandboxes post_install, so cp fails with EPERM.
Symlinks work around this and also ensure brew uninstall
can cleanly remove fonts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt Troutman 2026-03-07 21:32:43 -06:00
parent 59d8175d75
commit cb1918c30f
No known key found for this signature in database
134 changed files with 804 additions and 268 deletions

View file

@ -121,10 +121,14 @@ class Font{class_name} < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontAbbiescriptproRg < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontAcrylicHand < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontAgpx < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontAirosol < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontAlphalyrae < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontAngular < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontArinoe < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontAverasanstc < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBaduy < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBeeHoney < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBenford < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBobbyJonesSoftFree < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBouncyCastleFree < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBrightsight02 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBrixtonline < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBroke < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontBuffy < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontCatOutline < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontCheekyRabbit < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontChido < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontChristmasPicture < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontChrone < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontClancyExperience < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontClancy < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontCode < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontCoffina < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontCopixelFont17643720790 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontCreamyDreams < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontCucurucho < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDamn < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDanceBlues < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDepixel < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDepokCubism < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDevilsCut < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDirtyClouds < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDistrict < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDkFrozenMemory < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDomaineDisplay < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontDtmilagros < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontEpBoxi < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontF37Stout < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontFlyover < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontFreshChristmasFont17643708880 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontFriem < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontFunkyRound < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontFutura1986 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontGalaxia < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontGilbert < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontGrahamHand < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontGyanko < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontHectra < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontHelloHeadline < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontHorseland < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontIdgrotesk < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontIntrovertFont217643716550 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontJimmySans < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontJoc < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontKompeni < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontLabGrotesk < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontLanceTomchalky < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontLatcha < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontLazareGroteskFontFamily17643703980 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontLexa < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMadeCarving < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMadeInfinity < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMagicPainted < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMagnode < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMarkerNotes < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMarvelo < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMbaSliceMono < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMiracode < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMoonWalk < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontMorgon < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontNafasmanual < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontNeopixelFont17643721290 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontNewKansasBlackWisabo < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontNugiaVintage < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontOverland < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontParasiteGame < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontPatsySansGrotesque < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontPixelCrashFont17643720710 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontPixelGamerFont17643722390 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontPixelGridFontFamily17643719820 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontPixelon < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontPlaztma < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontPlebis < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontProjectSpace < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontProvisions < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontQraydomFont17643713450 < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontQuasimodaFamily < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontRevain < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontRigidLight < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontRockyMonkey < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontRondack < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontRuna < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontRusillaserif < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontRuska < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontScratches < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

View file

@ -45,10 +45,14 @@ class FontScribblingtom < Formula
user_fonts.mkpath
Dir.glob(share/"fonts/truetype/*.ttf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
Dir.glob(share/"fonts/opentype/*.otf").each do |f|
system "cp", "-f", f, user_fonts.to_s
target = user_fonts/File.basename(f)
FileUtils.rm_f(target)
FileUtils.ln_sf(f, target)
end
end

Some files were not shown because too many files have changed in this diff Show more