From ecb25eed52239d3aafe749cc82f0e5b1049de608 Mon Sep 17 00:00:00 2001 From: Nikolai Berkoff Date: Wed, 17 Dec 2014 20:14:14 +0000 Subject: [PATCH] fix error in linux font install --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 1d3d32a..1d9894f 100644 --- a/Rakefile +++ b/Rakefile @@ -182,7 +182,7 @@ def install_fonts puts "Installing patched fonts for Powerline/Lightline." puts "======================================================" 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") + run %{ mkdir -p ~/.fonts && cp ~/.yadr/fonts/* ~/.fonts && fc-cache -vf ~/.fonts } if RUBY_PLATFORM.downcase.include?("linux") puts end