diff --git a/start.sh b/start.sh index 40ab92c..0818d11 100755 --- a/start.sh +++ b/start.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if (! which mecab) && (grep keywordEnabled config.json | grep -q true); then +if (grep keywordEnabled config.json | grep -q true) && (! which mecab); then echo "You must install MeCab if keywordEnabled is true." exit 1 fi