瀏覽代碼

Add source code pro

Snow 7 年之前
父節點
當前提交
261f6cfab6
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 二進制
      collections/SourceCodePro/SourceCodeVariable-Italic.ttf
  2. 二進制
      collections/SourceCodePro/SourceCodeVariable-Roman.ttf
  3. 3 3
      install.sh

二進制
collections/SourceCodePro/SourceCodeVariable-Italic.ttf


二進制
collections/SourceCodePro/SourceCodeVariable-Roman.ttf


+ 3 - 3
install.sh

@@ -8,13 +8,13 @@ find "$FONT_DIR" -mindepth 1 -type d -exec basename {} \;
 echo "------"
 # get target path
 if [[ $(uname) == 'Linux' ]]; then
-  TARGER_DIR="$HOME/.local/share/fonts"
+  TARGET_DIR="$HOME/.local/share/fonts"
 else
   echo "This script only works on Linux."
 fi
 
-echo "Installing fonts" 
-cp $FONT_DIR/* $TARGET_DIR
+echo "Installing fonts to $TARGET_DIR" 
+cp -r $FONT_DIR/* $TARGET_DIR
 echo "Refreshing font cache"
 fc-cache -f
 echo "Done"