条件を逆にする

This commit is contained in:
Masaya Suzuki 2023-03-04 07:30:15 +09:00
parent 4bf2052a1a
commit 8f5e353b20
No known key found for this signature in database

View file

@ -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