Procházet zdrojové kódy

only try fc-cache reset on linux

fc-cache doesn't exist on osx :)
pull/134/head
Carl Lange před 9 roky
rodič
revize
5e47bb2113
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. +4
    -2
      install.sh

+ 4
- 2
install.sh Zobrazit soubor

@ -18,8 +18,10 @@ fi
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 [[ `uname` != 'Darwin' ]]; then
if [[ -n `which fc-cache` ]]; then
fc-cache -f $font_dir
fi
fi
echo "All Powerline fonts installed to $font_dir"

Načítá se…
Zrušit
Uložit