소스 검색

Merge pull request #134 from CarlQLange/patch-1

only try fc-cache reset on linux
pull/152/head 2015-12-04
Kim Silkebækken 8 년 전
부모
커밋
6ac4c010af
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +4
    -2
      install.sh

+ 4
- 2
install.sh 파일 보기

@ -15,11 +15,13 @@ else
fi
# Copy all fonts to user fonts directory
echo "Copying fonts..."
eval $find_command | xargs -0 -I % cp "%" "$font_dir/"
# Reset font cache on Linux
if [[ -n `which fc-cache` ]]; then
fc-cache -f $font_dir
if command -v fc-cache @>/dev/null ; then
echo "Resetting font cache, this may take a moment..."
fc-cache -f $font_dir
fi
echo "All Powerline fonts installed to $font_dir"

불러오는 중...
취소
저장