From f9defab9c77d3476d952fbe0ffec7d035ec7c10c Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 24 Feb 2016 23:08:04 -0800 Subject: [PATCH] Better start.sh errors on Mac OS X Signed-off-by: Jeffrey Morgan --- .../quickstart.app/Contents/Resources/Scripts/start.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh b/osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh index cbe64e31a4..1d32164855 100755 --- a/osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh +++ b/osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh @@ -13,8 +13,13 @@ unset LD_LIBRARY_PATH clear -if [ ! -f "${DOCKER_MACHINE}" ] || [ ! -f "${VBOXMANAGE}" ]; then - echo "Either VirtualBox or Docker Machine are not installed. Please re-run the Toolbox Installer and try again." +if [ ! -f "${DOCKER_MACHINE}" ]; then + echo "Docker Machine is not installed. Please re-run the Toolbox Installer and try again." + exit 1 +fi + +if [ ! -f "${VBOXMANAGE}" ]; then + echo "VirtualBox is not installed. Please re-run the Toolbox Installer and try again." exit 1 fi