From 6c2c4f4ab15dc8fc64eb6156d7405aa741e12b00 Mon Sep 17 00:00:00 2001 From: Zhiqiang Wang <1296468573@qq.com> Date: Tue, 11 Jan 2022 23:40:52 +0800 Subject: [PATCH] [TS-991](tools): taos-tools uninstall. (#9743) * [TS-991](tools): taos-tools uninstall. * [TS-991](tools): taos-tools uninstall. --- packaging/tools/makepkg.sh | 9 +++++++++ src/kit/taos-tools | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packaging/tools/makepkg.sh b/packaging/tools/makepkg.sh index c83c0154e1..709174e095 100755 --- a/packaging/tools/makepkg.sh +++ b/packaging/tools/makepkg.sh @@ -134,6 +134,15 @@ if [ -n "${taostools_bin_files}" ]; then echo -e "install-taostools.sh not found" fi + if [ -f ${top_dir}/src/kit/taos-tools/packaging/tools/uninstall-taostools.sh ]; then + cp ${top_dir}/src/kit/taos-tools/packaging/tools/uninstall-taostools.sh \ + ${taostools_install_dir}/ >/dev/null && + chmod a+x ${taostools_install_dir}/uninstall-taostools.sh || + echo -e "failed to copy uninstall-taostools.sh" + else + echo -e "uninstall-taostools.sh not found" + fi + if [ -f ${build_dir}/lib/libavro.so.23.0.0 ]; then mkdir -p ${taostools_install_dir}/avro/{lib,lib/pkgconfig} || echo -e "failed to create ${taostools_install_dir}/avro" cp ${build_dir}/lib/libavro.* ${taostools_install_dir}/avro/lib diff --git a/src/kit/taos-tools b/src/kit/taos-tools index 5c944c1c93..028cac64a4 160000 --- a/src/kit/taos-tools +++ b/src/kit/taos-tools @@ -1 +1 @@ -Subproject commit 5c944c1c93c63112890c8c65e1f57cfa6bd89179 +Subproject commit 028cac64a44c89e63bc7eb87bb0440aa5f9b9f3d -- GitLab