-
-
Save pelligrag/7f2bfee85eeb43fd2534bf29b3ca5f2c to your computer and use it in GitHub Desktop.
Revisions
-
keeferrourke revised this gist
May 11, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ # Based on AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git> # dependancies: fonts-cantarell, ttf-ubuntu-font-family, git sudo apt-get install fonts-cantarell ttf-ubuntu-font-family git srcdir="/tmp/google-fonts" pkgdir="/usr/share/fonts/truetype/google-fonts" giturl="git://github.com/google/fonts.git" -
keeferrourke revised this gist
May 31, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -19,8 +19,8 @@ sudo mkdir -p $pkgdir sudo find $srcdir -type f -name "*.ttf" -exec install -Dm644 {} $pkgdir \; echo "Cleaning up..." sudo find $pkgdir -type f -name "Cantarell-*.ttf" -delete \; sudo find $pkgdir -type f -name "Ubuntu-*.ttf" -delete \; # provides roboto sudo apt-get --purge remove fonts-roboto -
keeferrourke created this gist
Jul 19, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ #!/bin/sh # Written by: Keefer Rourke <https://krourke.org> # Based on AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git> # dependancies: fonts-cantarell, ttf-ubuntu-font-family, git sudo apt-get install fonts-cantarell, ttf-ubuntu-font-family, git srcdir="/tmp/google-fonts" pkgdir="/usr/share/fonts/truetype/google-fonts" giturl="git://github.com/google/fonts.git" mkdir $srcdir cd $srcdir echo "Cloning Git repository..." git clone $giturl echo "Installing fonts..." sudo mkdir -p $pkgdir sudo find $srcdir -type f -name "*.ttf" -exec install -Dm644 {} $pkgdir \; echo "Cleaning up..." sudo find $pkgdir -type f -name "Cantarell-*.tff" -delete \; sudo find $pkgdir -type f -name "Ubuntu-*.tff" -delete \; # provides roboto sudo apt-get --purge remove fonts-roboto echo "Updating font-cache..." sudo fc-cache -f > /dev/null echo "Done!"