-
-
Save norisu0313/4696276 to your computer and use it in GitHub Desktop.
wget を homebrew で取得して最後に 落としてきたファイルを削除するようにしました
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Ricty Installer for Mac OS X | |
# | |
# require: Homebrew, git | |
# | |
FONT_DIR=~/Library/Fonts | |
brew update | |
brew install wget | |
# Migu1M フォントをインストール | |
wget 'http://sourceforge.jp/frs/redir.php?m=iij&f=%2Fmix-mplus-ipa%2F57240%2Fmigu-1m-20121030.zip' -O migu-1m-20121030.zip | |
unzip migu-1m-20121030.zip | |
cp migu-1m-20121030/*.ttf $FONT_DIR | |
# Inconsolata フォントをインストール | |
wget http://levien.com/type/myfonts/Inconsolata.otf | |
cp Inconsolata.otf $FONT_DIR | |
# Homebrew経由で fontfoge をインストール | |
brew install fontforge | |
# Ricty をビルド | |
git clone https://github.com/yascentur/Ricty.git | |
cd Ricty | |
sh ricty_generator.sh auto | |
cp *.ttf $FONT_DIR | |
rm -rf migu-lm-20121030.zip | |
rm -rf migu-lm-20121030 | |
rm -rf Inconsolata.otf | |
rm -rf Ricty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment