From ca0f1f9a4e1351cc8ab55e3af746adbc6495b2d5 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Tue, 17 Nov 2020 20:32:30 +0100 Subject: Prettify messages in setup script Signed-off-by: David Mehren --- bin/setup | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'bin') diff --git a/bin/setup b/bin/setup index c73aeeea..238b42e9 100755 --- a/bin/setup +++ b/bin/setup @@ -13,10 +13,11 @@ fi if ! type yarn > /dev/null then cat << EOF -yarn is not installed, please install Node.js, npm and yarn. -Read more on Node.js official website: https://nodejs.org -And for yarn package manager at: https://yarnpkg.com/en/ -Setup will not be run +FATAL: Yarn could not be found. + +Please follow the official installation instructions at +https://classic.yarnpkg.com/en/docs/install +and try again. EOF exit 1 fi @@ -25,7 +26,7 @@ if version_lt "$(yarn --version)" '1.22.0'; then cat <