fix error in linux font install
This commit is contained in:
parent
979b89c961
commit
ecb25eed52
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…
x
Reference in New Issue
Block a user