Revert "mecab-ipadic-neologdのチェック追加"

This reverts commit 49d0929c5a.
This commit is contained in:
Masaya Suzuki 2023-03-04 07:56:19 +09:00
parent 180d93e618
commit 7c3eaf59d4
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if (grep keywordEnabled config.json | grep -q true) && (! which mecab) && [ -e '/usr/lib/x86_64-linux-gnu/mecab/dic/mecab-ipadic-neologd/' ]; then
echo "You must install MeCab and mecab-ipadic-neologd if keywordEnabled is true."
if (grep keywordEnabled config.json | grep -q true) && (! which mecab); then
echo "You must install MeCab if keywordEnabled is true."
exit 1
fi