diff --git a/packaging/tools/makepkg.sh b/packaging/tools/makepkg.sh index c83c0154e1a2342b7e9dea11334fa19daeb87528..709174e0959c7cda8a85b8e19600535e7137fd84 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 5c944c1c93c63112890c8c65e1f57cfa6bd89179..028cac64a44c89e63bc7eb87bb0440aa5f9b9f3d 160000 --- a/src/kit/taos-tools +++ b/src/kit/taos-tools @@ -1 +1 @@ -Subproject commit 5c944c1c93c63112890c8c65e1f57cfa6bd89179 +Subproject commit 028cac64a44c89e63bc7eb87bb0440aa5f9b9f3d