mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Update script
This commit is contained in:
parent
65b5081c7d
commit
20896325ea
2 changed files with 14 additions and 11 deletions
|
@ -103,7 +103,10 @@ function Ubuntu_prepare()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pkg-config --version >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
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
|
fi
|
||||||
|
|
||||||
echo "Tools for Ubuntu are installed."
|
echo "Tools for Ubuntu are installed."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue