Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # extract archives
- wget -r http://arkandis.tuxfamily.org/
- mkdir tmp
- find arkandis.tuxfamily.org -name '*\.zip' -exec cp {} tmp \;
- cd tmp
- for i in *\.zip
- do
- unzip $i
- done
- rm -f *\.zip
- # copy fonts
- BASE=../texmf-dist/fonts
- mkdir -p $BASE
- # sfd
- mkdir -p $BASE/sfd/public/adf
- find . -name '*\.sfd' -exec cp {} $BASE/sfd/public/adf \;
- # type1
- mkdir -p $BASE/type1/public/adf
- find . -name '*\.pfb' -exec cp {} $BASE/type1/public/adf \;
- find . -name '*\.pfm' -exec cp {} $BASE/type1/public/adf \;
- # afm
- mkdir -p $BASE/afm/public/adf
- find . -name '*\.afm' -exec cp {} $BASE/afm/public/adf \;
- # truetype
- mkdir -p $BASE/truetype/public/adf
- find . -name '*\.ttf' -exec cp {} $BASE/truetype/public/adf \;
- find . -name '*\.ttc' -exec cp {} $BASE/truetype/public/adf \;
- # opentype
- mkdir -p $BASE/opentype/public/adf
- find . -name '*\.otf' -exec cp {} $BASE/opentype/public/adf \;
- #TODO# web
- #TODOmkdir -p fonts/web/public/adf
- #TODOfind . -name '*\.woff' -exec cp {} fonts/web/public/adf \;
- # fix modes
- find $BASE -type f -exec chmod a-x {} \;
- # clean up
- cd ..
- rm -rf arkandis.tuxfamily.org tmp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement