mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 10:20:26 +00:00
Add wss to api-test script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user