Add wss to api-test script

This commit is contained in:
Kris Moore
2016-01-08 13:54:01 -05:00
parent 1ceb256922
commit c90c47adf6

View File

@@ -25,6 +25,14 @@ if [ ! -d "${HOME}/.npm/ws" ] ; then
fi
fi
if [ ! -d "${HOME}/.npm/wss" ] ; then
npm install wss
if [ $? -ne 0 ] ; then
echo "Failed installing wss node module"
exit 1
fi
fi
echo "Enter your username:"
echo -e ">\c"
read fuser