Quellcode durchsuchen

fixed the fc-cache check

pull/134/head
Carl Lange vor 8 Jahren
Ursprung
Commit
ff1bbd224f
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. +3
    -3
      install.sh

+ 3
- 3
install.sh Datei anzeigen

@ -15,13 +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 [[ `uname` != 'Darwin' ]]; then
if [[ -n `which fc-cache` ]]; then
if command -v fc-cache @>/dev/null ; then
echo "Resetting font cache, this may take a moment..."
fc-cache -f $font_dir
fi
fi
echo "All Powerline fonts installed to $font_dir"

Laden…
Abbrechen
Speichern