winlin

update readme, refine the title

1 #Simple-RTMP-Server 1 #Simple-RTMP-Server
2 2
3 -下载发布版(github): [Centos6-x86_64](http://winlinvip.github.io/srs.release/releases/files/SRS-CentOS6-x86_64-0.9.30.zip) [alternative downloads](http://winlinvip.github.io/srs.release/releases/) 3 +下载发布版(github): [Centos6-x86_64](http://winlinvip.github.io/srs.release/releases/files/SRS-CentOS6-x86_64-0.9.30.zip) 其他[more...](http://winlinvip.github.io/srs.release/releases/)
4 4
5 -下载发布版(国内阿里云镜像): [Centos6-x86_64](http://demo.chnvideo.com:8085/srs/releases/files/SRS-CentOS6-x86_64-0.9.30.zip) [alternative downloads](http://demo.chnvideo.com:8085/srs/releases/) 5 +下载发布版(国内阿里云镜像): [Centos6-x86_64](http://demo.chnvideo.com:8085/srs/releases/files/SRS-CentOS6-x86_64-0.9.30.zip) 其他[more...](http://demo.chnvideo.com:8085/srs/releases/)
6 6
7 获得源码(github): [simple-rtmp-server](https://github.com/winlinvip/simple-rtmp-server) 7 获得源码(github): [simple-rtmp-server](https://github.com/winlinvip/simple-rtmp-server)
8 8
@@ -27,8 +27,11 @@ product_dir=$work_dir @@ -27,8 +27,11 @@ product_dir=$work_dir
27 ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi 27 ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi
28 ok_msg "导入脚本成功" 28 ok_msg "导入脚本成功"
29 29
  30 +git remote -v|grep code.csdn.net >/dev/null 2>&1
  31 +ret=$?; if [[ 0 -ne $ret ]]; then failed_msg "当前分支不是CSDN镜像"; exit 0; fi
  32 +
30 for ((;;)); do 33 for ((;;)); do
31 - git checkout srs.master && git pull 34 + git checkout srs.master && git pull
32 ret=$?; if [[ 0 -ne $ret ]]; then 35 ret=$?; if [[ 0 -ne $ret ]]; then
33 failed_msg "更新github分支失败,自动重试"; 36 failed_msg "更新github分支失败,自动重试";
34 continue 37 continue