浏览代码

Remove unnecessary codes

Keyi 7 年之前
父节点
当前提交
44c61ae8e7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      install.sh

+ 2 - 2
install.sh

@@ -4,8 +4,8 @@
 DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 FONT_DIR="$DIR/collections"
 echo "Found fonts:"
-find "$FONT_DIR" -mindepth 1 -type d \( \! -name "$(basename "$DIR")" \) -exec basename {} \;
-
+find "$FONT_DIR" -mindepth 1 -type d -exec basename {} \;
+echo "------"
 # get target path
 if [[ $(uname) == 'Linux' ]]; then
   TARGER_DIR="$HOME/.local/share/fonts"