File: release.sh

package info (click to toggle)
fonts-firacode 1.206%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,976 kB
  • sloc: makefile: 14; sh: 12
file content (21 lines) | stat: -rwxr-xr-x 562 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash -x

# Remove Retina from webfonts
rm distr/FiraCode-Retina.eot   2> /dev/null
rm distr/FiraCode-Retina.woff  2> /dev/null
rm distr/FiraCode-Retina.woff2 2> /dev/null

# Move to folders
mv distr/*.eot distr/eot/      2> /dev/null
mv distr/*.woff distr/woff/    2> /dev/null
mv distr/*.woff2 distr/woff2/  2> /dev/null
mv distr/*.ttf distr/ttf/      2> /dev/null
mv distr/*.otf distr/otf/      2> /dev/null

# Install OTF version
cp distr/otf/*.otf ~/Library/Fonts/

# Pack zip archive
cd distr
find . -not -name ".*" | xargs zip ../FiraCode.zip
cd ..