Created
August 11, 2013 07:22
-
-
Save r9y9/6203852 to your computer and use it in GitHub Desktop.
Roboto install script
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/bash | |
function install_roboto() { | |
mkdir roboto | |
wget -O roboto/roboto.zip "https://developer.android.com/downloads/design/Roboto_Hinted_20120823.zip" | |
unzip roboto/roboto.zip -d roboto/ | |
mv -vf roboto/*.ttf ~/.fonts | |
rm -vrf roboto | |
} | |
install_roboto | |
fc-cache -fv ~/.fonts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment