Fix install function

This commit is contained in:
Teddysun 2014-05-11 23:00:27 +08:00
parent a3d4e24989
commit aa53cd0474

View File

@ -138,10 +138,10 @@ function install(){
./configure
make && make install
fi
cd $cur_dir
# Install shadowsocks-Nodejs
which npm > /dev/null 2>&1
if [ $? -eq 0 ]; then
cd $cur_dir
npm install -g shadowsocks
else
echo ""