Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2016-09-13 15:53:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
588de3e7b4af8422499dfbf26f4a55942e9fb60f
588de3e7
1 parent
c2cb6669
check lsb_realease for install
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
trunk/scripts/install.sh
trunk/scripts/install.sh
查看文件 @
588de3e
...
...
@@ -20,6 +20,11 @@ product_dir=$work_dir
log
=
"
${
work_dir
}
/logs/package.
`
date +%s
`
.log"
&&
.
${
product_dir
}
/scripts/_log.sh
&&
check_log
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.
ok_msg
"check previous install"
if
[[
-f /etc/init.d/srs
]]
;
then
...
...
请
注册
或
登录
后发表评论