Last active
January 31, 2016 00:05
-
-
Save levhita/426bbdc1d75f527d13e8 to your computer and use it in GitHub Desktop.
# Install Google webfonts on ubuntu
This file contains hidden or 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
# Install Google webfonts on ubuntu | |
sudo apt-get -y install git | |
git clone https://github.com/google/fonts.git web_fonts_temp | |
mkdir -p ~/.fonts/google-fonts/ | |
find $PWD/web_fonts_temp/ -name "*.ttf" -exec sudo install -m644 {} ~/.fonts/google-fonts/ \; || return 1 | |
fc-cache -f > /dev/null | |
rm -rf web_fonts_temp | |
echo "Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment