Merge pull request #577 from nikolai-b/master
fix error in linux font install
This commit is contained in:
commit
a3b225f68d
2
Rakefile
2
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user