mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch '2.0release' into develop
This commit is contained in:
commit
6b8fe92afa
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,11 @@ product_dir=$work_dir
|
||||||
log="${work_dir}/logs/package.`date +%s`.log" && . ${product_dir}/scripts/_log.sh && check_log
|
log="${work_dir}/logs/package.`date +%s`.log" && . ${product_dir}/scripts/_log.sh && check_log
|
||||||
ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi
|
ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi
|
||||||
|
|
||||||
|
# check lsb_release
|
||||||
|
ok_msg "check tools"
|
||||||
|
lsb_release -v >/dev/null 2>&1; ret=$?
|
||||||
|
if [[ $ret -ne 0 ]]; then failed_msg "abort, please install lsb_release"; exit $ret; fi
|
||||||
|
|
||||||
# user must stop service first.
|
# user must stop service first.
|
||||||
ok_msg "check previous install"
|
ok_msg "check previous install"
|
||||||
if [[ -f /etc/init.d/srs ]]; then
|
if [[ -f /etc/init.d/srs ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue