Merge pull request #2552 from CodeBlock/font-find
Use `find` instead of cp for installFonts.
This commit is contained in:
commit
dde404325b
@ -545,11 +545,11 @@ let inherit (builtins) head tail trace; in
|
||||
mkdir -p $out/share/texmf/fonts/enc/${retrievedName}
|
||||
mkdir -p $out/share/texmf/fonts/map/${retrievedName}
|
||||
|
||||
cp *.ttf $out/share/fonts/truetype/public/${retrievedName} || echo No TrueType fonts
|
||||
cp *.otf $out/share/fonts/opentype/public/${retrievedName} || echo No OpenType fonts
|
||||
cp *.{pfm,afm,pfb} $out/share/fonts/type1/public/${retrievedName} || echo No Type1 Fonts
|
||||
cp *.enc $out/share/texmf/fonts/enc/${retrievedName} || echo No fontenc data
|
||||
cp *.map $out/share/texmf/fonts/map/${retrievedName} || echo No fontmap data
|
||||
find -name '*.ttf' -exec cp {} $out/share/fonts/truetype/public/${retrievedName} \;
|
||||
find -name '*.otf' -exec cp {} $out/share/fonts/opentype/public/${retrievedName} \;
|
||||
find -name '*.pfm' -o -name '*.afm' -o -name '*.pfb' -exec cp {} $out/share/fonts/type1/public/${retrievedName} \;
|
||||
find -name '*.enc' -exec cp {} $out/share/texmf/fonts/enc/${retrievedName} \;
|
||||
find -name '*.map' -exec cp {} $out/share/texmf/fonts/map/${retrievedName} \;
|
||||
'') ["minInit" "defEnsureDir"];
|
||||
|
||||
simplyShare = shareName: fullDepEntry (''
|
||||
|
Loading…
Reference in New Issue
Block a user