Skip to content

Commit

Permalink
feat(install-packages): install octagram LMs
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Jun 8, 2019
1 parent 8b48688 commit 60cddc8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/install-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,12 @@ install_files_from_package() {
local data_files=(
$(
cd "${package_dir}"
ls *.* 2> /dev/null | grep -e '\.txt$' -e '\.yaml$' | \
grep -v -e '\.custom\.yaml$' -e '\.recipe\.yaml$' -e '^recipe\.yaml$'
ls opencc/*.* 2> /dev/null | grep -e '\.json$' -e '\.ocd$' -e '\.txt$'
ls *.yaml 2> /dev/null \
| grep -v -e '\.custom\.yaml$' -e '\.recipe\.yaml$' -e '^recipe\.yaml$'
ls *.txt 2> /dev/null
ls *.gram 2> /dev/null
ls opencc/*.* 2> /dev/null \
| grep -e '\.json$' -e '\.ocd$' -e '\.txt$'
)
)
install_files "${data_files[@]}"
Expand Down

0 comments on commit 60cddc8

Please sign in to comment.