Created
April 3, 2015 15:01
-
-
Save gotakk/acfbf49dd87e9a864067 to your computer and use it in GitHub Desktop.
Bash script to install source code pro font (edited by Adobe) in Ubuntu
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 | |
FONT_NAME="SourceCodePro" | |
URL="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.tar.gz" | |
mkdir /tmp/$FONT_NAME | |
cd /tmp/$FONT_NAME | |
wget $URL -O "`echo $FONT_NAME`.tar.gz" | |
tar --extract --gzip --file ${FONT_NAME}.tar.gz | |
sudo mkdir /usr/share/fonts/truetype/$FONT_NAME | |
sudo cp -rf /tmp/$FONT_NAME/. /usr/share/fonts/truetype/$FONT_NAME/. | |
fc-cache -f -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment