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:
parent
46611ac062
commit
8fabd5d987
1 changed files with 7 additions and 3 deletions
|
@ -34,10 +34,14 @@ echo "depends tools are ok"
|
||||||
OS_IS_UBUNTU=NO
|
OS_IS_UBUNTU=NO
|
||||||
function Ubuntu_prepare()
|
function Ubuntu_prepare()
|
||||||
{
|
{
|
||||||
|
if [ $SRS_CUBIE = YES ]; then
|
||||||
|
echo "for cubieboard, use ubuntu prepare"
|
||||||
|
else
|
||||||
uname -v|grep Ubuntu >/dev/null 2>&1
|
uname -v|grep Ubuntu >/dev/null 2>&1
|
||||||
ret=$?; if [[ 0 -ne $ret ]]; then
|
ret=$?; if [[ 0 -ne $ret ]]; then
|
||||||
return 0;
|
return 0;
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
OS_IS_UBUNTU=YES
|
OS_IS_UBUNTU=YES
|
||||||
echo "Ubuntu detected, install tools if needed"
|
echo "Ubuntu detected, install tools if needed"
|
||||||
|
|
Loading…
Reference in a new issue