diff --git a/build_deps.sh b/build_deps.sh index 66eb5c5..34333de 100755 --- a/build_deps.sh +++ b/build_deps.sh @@ -11,7 +11,8 @@ case $OS in CentOS) echo "Linux, CentOS" sudo yum -y install automake cmake gcc-c++ git libtool openssl-devel wget - if echo "$(ldconfig -p | grep libuv)" + OUTPUT=`ldconfig -p | grep slibuv` + if [[ $(echo $OUTPUT) != "" ]] then echo "libuv has already been installed" else pushd /tmp