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