Fix install function
This commit is contained in:
parent
a3d4e24989
commit
aa53cd0474
|
|
@ -138,10 +138,10 @@ function install(){
|
||||||
./configure
|
./configure
|
||||||
make && make install
|
make && make install
|
||||||
fi
|
fi
|
||||||
|
cd $cur_dir
|
||||||
# Install shadowsocks-Nodejs
|
# Install shadowsocks-Nodejs
|
||||||
which npm > /dev/null 2>&1
|
which npm > /dev/null 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
cd $cur_dir
|
|
||||||
npm install -g shadowsocks
|
npm install -g shadowsocks
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user