Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
1caac924
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
1caac924
编写于
3月 09, 2023
作者:
X
xinsheng Ren
提交者:
GitHub
3月 09, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: install add explorer (#20357)
Co-authored-by:
N
facetosea
<
25808407@qq.com
>
上级
0cda8daa
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
0 deletion
+9
-0
packaging/tools/make_install.bat
packaging/tools/make_install.bat
+3
-0
packaging/tools/make_install.sh
packaging/tools/make_install.sh
+2
-0
packaging/tools/post.sh
packaging/tools/post.sh
+4
-0
未找到文件。
packaging/tools/make_install.bat
浏览文件 @
1caac924
...
@@ -94,6 +94,9 @@ if %Enterprise% == TRUE (
...
@@ -94,6 +94,9 @@ if %Enterprise% == TRUE (
if
exist
%binary_dir%
\\build\\bin\\create_table.exe
(
if
exist
%binary_dir%
\\build\\bin\\create_table.exe
(
copy
%binary_dir%
\\build\\bin\\create_table.exe
%target_dir%
>
nul
copy
%binary_dir%
\\build\\bin\\create_table.exe
%target_dir%
>
nul
)
)
if
exist
%binary_dir%
\\build\\bin\\
*
explorer
.exe
(
copy
%binary_dir%
\\build\\bin\\
*
explorer
.exe
%target_dir%
>
nul
)
)
)
copy
%binary_dir%
\\build\\bin\\taosd.exe
%target_dir%
>
nul
copy
%binary_dir%
\\build\\bin\\taosd.exe
%target_dir%
>
nul
...
...
packaging/tools/make_install.sh
浏览文件 @
1caac924
...
@@ -200,6 +200,7 @@ function install_bin() {
...
@@ -200,6 +200,7 @@ function install_bin() {
[
-f
${
binary_dir
}
/build/bin/taosadapter
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosadapter
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/taosadapter
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosadapter
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/udfd
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/udfd
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/udfd
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/udfd
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/taosx
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosx
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/taosx
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/taosx
${
install_main_dir
}
/bin
||
:
[
-f
${
binary_dir
}
/build/bin/
*
explorer
]
&&
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/
*
explorer
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/
${
serverName
}
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
binary_dir
}
/build/bin/
${
serverName
}
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
script_dir
}
/remove.sh
${
install_main_dir
}
/bin
||
:
${
csudo
}
cp
-r
${
script_dir
}
/remove.sh
${
install_main_dir
}
/bin
||
:
...
@@ -212,6 +213,7 @@ function install_bin() {
...
@@ -212,6 +213,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
>
/dev/null 2>&1
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
>
/dev/null 2>&1
||
:
[
-f
${
install_main_dir
}
/bin/taosBenchmark
]
&&
${
csudo
}
ln
-sf
${
install_main_dir
}
/bin/taosBenchmark
${
install_main_dir
}
/bin/taosdemo
>
/dev/null 2>&1
||
:
[
-f
${
install_main_dir
}
/bin/taosBenchmark
]
&&
${
csudo
}
ln
-sf
${
install_main_dir
}
/bin/taosBenchmark
${
install_main_dir
}
/bin/taosdemo
>
/dev/null 2>&1
||
:
[
-x
${
install_main_dir
}
/bin/taosx
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosx
${
bin_link_dir
}
/taosx
>
/dev/null 2>&1
||
:
[
-x
${
install_main_dir
}
/bin/taosx
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosx
${
bin_link_dir
}
/taosx
>
/dev/null 2>&1
||
:
[
-x
${
install_main_dir
}
/bin/
*
explorer
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
*
explorer
${
bin_link_dir
}
/
*
explorer
>
/dev/null 2>&1
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
>
/dev/null 2>&1
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
>
/dev/null 2>&1
||
:
fi
fi
}
}
...
...
packaging/tools/post.sh
浏览文件 @
1caac924
...
@@ -185,6 +185,7 @@ function install_bin() {
...
@@ -185,6 +185,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/
*
explorer
||
:
${
csudo
}
chmod
0555
${
bin_dir
}
/
*
${
csudo
}
chmod
0555
${
bin_dir
}
/
*
...
@@ -220,6 +221,9 @@ function install_bin() {
...
@@ -220,6 +221,9 @@ function install_bin() {
if
[
-x
${
bin_dir
}
/taoskeeper
]
;
then
if
[
-x
${
bin_dir
}
/taoskeeper
]
;
then
${
csudo
}
ln
-sf
${
bin_dir
}
/taoskeeper
${
bin_link_dir
}
/taoskeeper 2>>
${
install_log_path
}
||
return
1
${
csudo
}
ln
-sf
${
bin_dir
}
/taoskeeper
${
bin_link_dir
}
/taoskeeper 2>>
${
install_log_path
}
||
return
1
fi
fi
if
[
-x
${
bin_dir
}
/
*
explorer
]
;
then
${
csudo
}
ln
-s
${
bin_dir
}
/
*
explorer
${
bin_link_dir
}
/
*
explorer 2>>
${
install_log_path
}
||
return
1
fi
log_print
"install bin success"
log_print
"install bin success"
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录