We guess that the user has libnice manually installed

This commit is contained in:
WolverinDEV 2019-07-02 20:00:28 +02:00
parent 83150a9b5f
commit f16eb68a50

View File

@ -9,14 +9,15 @@ requires_rebuild ${library_path}
cd DataPipes/
echo "Testing for libnice"
dpkg-query -l libnice-dev2 &>/dev/null
if [[ $? -ne 0 ]]; then
echo "Installing libnice"
sudo apt-get update
sudo apt-get install -yes --force-yes libnice-dev
else
echo "libnice already installed"
fi
#dpkg-query -l libnice-dev2 &>/dev/null
#if [[ $? -ne 0 ]]; then
# echo "Installing libnice"
# sudo apt-get update
# sudo apt-get install -yes --force-yes libnice-dev
#else
# echo "libnice already installed"
#fi
./build_usrsctp.sh
check_err_exit ${library_path} "Failed to build usrsctp!"
./build_srtp.sh