Bläddra i källkod

Merge branch 'pr-141'

pull/191/merge
ZyX 7 år sedan
förälder
incheckning
3a9e240582
1 ändrade filer med 5 tillägg och 2 borttagningar
  1. +5
    -2
      install.sh

+ 5
- 2
install.sh Visa fil

@ -3,7 +3,10 @@
# 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 an argument is given it is used to select wich fonts to install
prefix="$1"
find_command="find \"$powerline_fonts_dir\" \( -name '$prefix*.[o,t]tf' -or -name '$prefix*.pcf.gz' \) -type f -print0"
if [[ `uname` == 'Darwin' ]]; then
# MacOS
@ -24,4 +27,4 @@ if command -v fc-cache @>/dev/null ; then
fc-cache -f $font_dir
fi
echo "All Powerline fonts installed to $font_dir"
echo "Powerline fonts installed to $font_dir"

Laddar…
Avbryt
Spara