From a2a025ad55fc8a0a23cad5523a450e8bbb594807 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Thu, 11 Sep 2014 20:21:16 +0100 Subject: [PATCH] Update install --- install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install b/install index eccdb5e..e04b07f 100755 --- a/install +++ b/install @@ -3,12 +3,12 @@ cat LICENCE git submodule init git submodule update -if [ ! -e /usr/bin/node ] && [ ! -e /usr/local/bin/node ]; +if [ ! -e /usr/bin/node ] && [ ! -e /usr/local/bin/node ] && [ ! -e /usr/local/bin/node ] && [ ! -e /usr/sbin/node ]; then echo 'node.js is not installed. Please install it before running install.sh.' exit 1 fi -if [ ! -e /usr/bin/npm ] && [ ! -e /usr/local/bin/npm ]; +if [ ! -e /usr/bin/npm ] && [ ! -e /usr/local/bin/npm ] && [ ! -e /usr/sbin/npm ]; then echo 'npm is not installed. Please install it before running install.sh' exit 1 @@ -38,7 +38,7 @@ then vim config.json fi -read -p "Setup complete. Run depressionbot now? [y/N]" +read -p "Setup complete. Run dbot now? [y/N]" if [[ ! $REPLY =~ ^[Yy]$ ]] then echo 'Okay. To run the bot, use "node run.js"'