mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
refine script for pi.
This commit is contained in:
parent
720230b5f3
commit
612c544d70
1 changed files with 2 additions and 2 deletions
|
@ -300,8 +300,8 @@ function OSX_prepare()
|
|||
OSX_prepare; ret=$?; if [[ 0 -ne $ret ]]; then echo "OSX prepare failed, ret=$ret"; exit $ret; fi
|
||||
|
||||
# by winlin, disable other system.
|
||||
if [[ $OS_IS_UBUNTU = NO && $OS_IS_CENTOS = NO && $SRS_EMBEDED_CPU = NO ]]; then
|
||||
echo "only support Centos and Ubuntu, actual is `uname -s`"
|
||||
if [[ $OS_IS_UBUNTU = NO && $OS_IS_CENTOS = NO && SRS_PI = NO && $SRS_EMBEDED_CPU = NO ]]; then
|
||||
echo "only support Centos/Ubuntu/RaspberryPi, actual is `uname -s`"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue