From 32c099214fb586d674a47f2c3f5f23b59532e83a Mon Sep 17 00:00:00 2001 From: Alex Frost Date: Thu, 17 Jul 2014 08:11:56 +0100 Subject: [PATCH] add linux font install --- Rakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 66b0d2f..457a4f9 100644 --- a/Rakefile +++ b/Rakefile @@ -27,7 +27,7 @@ task :install => [:submodule_init, :submodules] do Rake::Task["install_prezto"].execute - install_fonts if RUBY_PLATFORM.downcase.include?("darwin") + install_fonts install_term_theme if RUBY_PLATFORM.downcase.include?("darwin") @@ -181,7 +181,8 @@ def install_fonts puts "======================================================" puts "Installing patched fonts for Powerline/Lightline." puts "======================================================" - run %{ cp -f $HOME/.yadr/fonts/* $HOME/Library/Fonts } + run %{ cp -f $HOME/.yadr/fonts/* $HOME/Library/Fonts } if RUBY_PLATFORM.downcase.include?("darwin") + run %{ mkdir -p ~/.fonts && cp ~/.yadr/fonts/* "$_" && fc-cache -vf ~/.fonts } if RUBY_PLATFORM.downcase.include?("linux") puts end