From fce376923acfbc1c03c4040b83c7083b534a444b Mon Sep 17 00:00:00 2001 From: Duncan Bristow Date: Sun, 6 Dec 2015 12:32:19 -0700 Subject: [PATCH] Fixed an odd issue where installer prompted to install node, even though it is installed. --- NodeInstaller/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NodeInstaller/install.sh b/NodeInstaller/install.sh index 45ba6ea..2b8a0d8 100755 --- a/NodeInstaller/install.sh +++ b/NodeInstaller/install.sh @@ -1,7 +1,7 @@ #!/bin/bash # As there is no Linux support, this script assumes OS X as the host system. -command -v node > /dev/null || echo 'Node not found, please download it!' && open 'https://nodejs.org/en/' && sleep 5 && exit +command -v node > /dev/null || (echo 'Node not found, please download it!' && open 'https://nodejs.org/en/' && sleep 5 && exit) node index.js -exit \ No newline at end of file +exit