configure error message

This commit is contained in:
Florian Dold 2017-05-23 13:18:23 +02:00
parent 4e768c31fa
commit 12eeaf8637
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

8
configure vendored
View File

@ -17,21 +17,21 @@ if ! node -p 'process.exit(!(/v([0-9]+)/.exec(process.version)[1] >= 4))'; then
fi
if ! yarn --version &>/dev/null; then
echo 'error: yarn missing'
echo 'Error: yarn missing. See https://yarnpkg.com/en/docs/install'
exit 1
fi
if ! find --version >/dev/null; then
if ! find --version &>/dev/null; then
echo 'Error: find missing'
exit 1
fi
if ! xargs --version >/dev/null; then
if ! xargs --version &>/dev/null; then
echo 'Error: xargs missing'
exit 1
fi
if ! msgmerge --version >/dev/null; then
if ! msgmerge --version &>/dev/null; then
echo "Warning: msgmerge missing, i18n won't work"
exit 1
fi