فهرست منبع

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)"
 DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 FONT_DIR="$DIR/collections"
 FONT_DIR="$DIR/collections"
 echo "Found fonts:"
 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
 # get target path
 if [[ $(uname) == 'Linux' ]]; then
 if [[ $(uname) == 'Linux' ]]; then
   TARGER_DIR="$HOME/.local/share/fonts"
   TARGER_DIR="$HOME/.local/share/fonts"