Ver a proveniência

Merge pull request #87 from tthayer/patch-1

Update install.sh
pull/89/head
Kim Silkebækken há 10 anos
ascendente
cometimento
6d43495c34
1 ficheiros alterados com 2 adições e 1 eliminações
  1. +2
    -1
      install.sh

+ 2
- 1
install.sh Ver ficheiro

@ -3,6 +3,8 @@
# Set source and target directories
powerline_fonts_dir=$( cd "$( dirname "$0" )" && pwd )
find_command="find $powerline_fonts_dir \( -name '*.[o,t]tf' -or -name '*.pcf.gz' \) -type f -print0"
if [[ `uname` == 'Darwin' ]]; then
# MacOS
font_dir="$HOME/Library/Fonts"
@ -13,7 +15,6 @@ else
fi
# Copy all fonts to user fonts directory
find_command="find $powerline_fonts_dir -name '*.[o,t]tf' -o -name '*.pcf.gz' -type f -print0"
eval $find_command | xargs -0 -I % cp % $font_dir/
# Reset font cache on Linux

Carregando…
Cancelar
Guardar