Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
4037f2fe
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看板
未验证
提交
4037f2fe
编写于
11月 30, 2020
作者:
H
huili
提交者:
GitHub
11月 30, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #4378 from taosdata/hotfix/test
[TD-2269]<fix> install taosdump to /usr/bin
上级
d782a83b
59cbb734
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
20 addition
and
6 deletion
+20
-6
packaging/tools/install.sh
packaging/tools/install.sh
+2
-0
packaging/tools/install_client.sh
packaging/tools/install_client.sh
+4
-2
packaging/tools/install_client_power.sh
packaging/tools/install_client_power.sh
+4
-2
packaging/tools/install_power.sh
packaging/tools/install_power.sh
+2
-0
packaging/tools/post.sh
packaging/tools/post.sh
+2
-0
packaging/tools/remove.sh
packaging/tools/remove.sh
+2
-1
packaging/tools/remove_client.sh
packaging/tools/remove_client.sh
+1
-0
packaging/tools/remove_client_power.sh
packaging/tools/remove_client_power.sh
+1
-0
packaging/tools/remove_power.sh
packaging/tools/remove_power.sh
+2
-1
未找到文件。
packaging/tools/install.sh
浏览文件 @
4037f2fe
...
...
@@ -172,6 +172,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -182,6 +183,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/taos
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taos
${
bin_link_dir
}
/taos
||
:
[
-x
${
install_main_dir
}
/bin/taosd
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosd
${
bin_link_dir
}
/taosd
||
:
[
-x
${
install_main_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/rmtaos
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/bin/tarbitrator
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/tarbitrator
${
bin_link_dir
}
/tarbitrator
||
:
...
...
packaging/tools/install_client.sh
浏览文件 @
4037f2fe
...
...
@@ -84,8 +84,9 @@ function install_main_path() {
function
install_bin
()
{
# Remove links
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
if
[
"
$osType
"
=
=
"Darwin"
]
;
then
if
[
"
$osType
"
!
=
"Darwin"
]
;
then
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
fi
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -94,8 +95,9 @@ function install_bin() {
#Make link
[
-x
${
install_main_dir
}
/bin/taos
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taos
${
bin_link_dir
}
/taos
||
:
if
[
"
$osType
"
=
=
"Darwin"
]
;
then
if
[
"
$osType
"
!
=
"Darwin"
]
;
then
[
-x
${
install_main_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
fi
[
-x
${
install_main_dir
}
/bin/remove_client.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove_client.sh
${
bin_link_dir
}
/rmtaos
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
...
...
packaging/tools/install_client_power.sh
浏览文件 @
4037f2fe
...
...
@@ -84,8 +84,9 @@ function install_main_path() {
function
install_bin
()
{
# Remove links
${
csudo
}
rm
-f
${
bin_link_dir
}
/power
||
:
if
[
"
$osType
"
=
=
"Darwin"
]
;
then
if
[
"
$osType
"
!
=
"Darwin"
]
;
then
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdump
||
:
fi
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmpower
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -94,8 +95,9 @@ function install_bin() {
#Make link
[
-x
${
install_main_dir
}
/bin/power
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/power
${
bin_link_dir
}
/power
||
:
if
[
"
$osType
"
=
=
"Darwin"
]
;
then
if
[
"
$osType
"
!
=
"Darwin"
]
;
then
[
-x
${
install_main_dir
}
/bin/powerdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdemo
${
bin_link_dir
}
/powerdemo
||
:
[
-x
${
install_main_dir
}
/bin/powerdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdump
${
bin_link_dir
}
/powerdump
||
:
fi
[
-x
${
install_main_dir
}
/bin/remove_client_power.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove_client_power.sh
${
bin_link_dir
}
/rmpower
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
...
...
packaging/tools/install_power.sh
浏览文件 @
4037f2fe
...
...
@@ -172,6 +172,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/power
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmpower
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -182,6 +183,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/power
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/power
${
bin_link_dir
}
/power
||
:
[
-x
${
install_main_dir
}
/bin/powerd
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerd
${
bin_link_dir
}
/powerd
||
:
[
-x
${
install_main_dir
}
/bin/powerdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdemo
${
bin_link_dir
}
/powerdemo
||
:
[
-x
${
install_main_dir
}
/bin/powerdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdump
${
bin_link_dir
}
/powerdump
||
:
[
-x
${
install_main_dir
}
/bin/remove_power.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove_power.sh
${
bin_link_dir
}
/rmpower
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/bin/tarbitrator
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/tarbitrator
${
bin_link_dir
}
/tarbitrator
||
:
...
...
packaging/tools/post.sh
浏览文件 @
4037f2fe
...
...
@@ -92,6 +92,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -101,6 +102,7 @@ function install_bin() {
[
-x
${
bin_dir
}
/taos
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taos
${
bin_link_dir
}
/taos
||
:
[
-x
${
bin_dir
}
/taosd
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosd
${
bin_link_dir
}
/taosd
||
:
[
-x
${
bin_dir
}
/taosdemo
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
bin_dir
}
/taosdump
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
bin_dir
}
/set_core.sh
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/set_core.sh
${
bin_link_dir
}
/set_core
||
:
}
...
...
packaging/tools/remove.sh
浏览文件 @
4037f2fe
...
...
@@ -72,6 +72,7 @@ function clean_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -222,4 +223,4 @@ elif echo $osinfo | grep -qwi "centos" ; then
fi
echo
-e
"
${
GREEN
}
TDengine is removed successfully!
${
NC
}
"
echo
\ No newline at end of file
echo
packaging/tools/remove_client.sh
浏览文件 @
4037f2fe
...
...
@@ -38,6 +38,7 @@ function clean_bin() {
# Remove link
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
}
...
...
packaging/tools/remove_client_power.sh
浏览文件 @
4037f2fe
...
...
@@ -38,6 +38,7 @@ function clean_bin() {
# Remove link
${
csudo
}
rm
-f
${
bin_link_dir
}
/power
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmpower
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
}
...
...
packaging/tools/remove_power.sh
浏览文件 @
4037f2fe
...
...
@@ -72,6 +72,7 @@ function clean_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/power
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmpower
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -223,4 +224,4 @@ fi
#fi
echo
-e
"
${
GREEN
}
PowerDB is removed successfully!
${
NC
}
"
echo
\ No newline at end of file
echo
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录