1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

refine cubieboard configure, use ubuntu prepare to install tools

This commit is contained in:
winlin 2014-06-19 13:32:19 +08:00
parent 46611ac062
commit 8fabd5d987

View file

@ -34,10 +34,14 @@ echo "depends tools are ok"
OS_IS_UBUNTU=NO
function Ubuntu_prepare()
{
if [ $SRS_CUBIE = YES ]; then
echo "for cubieboard, use ubuntu prepare"
else
uname -v|grep Ubuntu >/dev/null 2>&1
ret=$?; if [[ 0 -ne $ret ]]; then
return 0;
fi
fi
OS_IS_UBUNTU=YES
echo "Ubuntu detected, install tools if needed"