1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Update script

This commit is contained in:
winlin 2020-04-21 14:02:26 +08:00
parent 65b5081c7d
commit 20896325ea
2 changed files with 14 additions and 11 deletions

View file

@ -103,7 +103,10 @@ function Ubuntu_prepare()
fi
pkg-config --version >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
echo "Please install pkg-config"; exit -1;
echo "Installing pkg-config."
require_sudoer "sudo apt-get install -y --force-yes pkg-config"
sudo apt-get install -y --force-yes pkg-config; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi
echo "The pkg-config is installed."
fi
echo "Tools for Ubuntu are installed."