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:
parent
46611ac062
commit
8fabd5d987
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue