1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +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,9 +34,13 @@ echo "depends tools are ok"
OS_IS_UBUNTU=NO
function Ubuntu_prepare()
{
uname -v|grep Ubuntu >/dev/null 2>&1
ret=$?; if [[ 0 -ne $ret ]]; then
return 0;
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