From da858dc52dd647fa3e6f254aeab24cfadff5ede1 Mon Sep 17 00:00:00 2001 From: zyyang Date: Thu, 24 Feb 2022 14:03:37 +0800 Subject: [PATCH] change --- packaging/clean_env.sh | 10 ++++++++-- packaging/tools/remove.sh | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packaging/clean_env.sh b/packaging/clean_env.sh index 80ce605730..8318295303 100755 --- a/packaging/clean_env.sh +++ b/packaging/clean_env.sh @@ -17,6 +17,12 @@ fi cd $COMMUNITY_DIR git checkout -- . +if [[ -e src/plugins/taosadapter/taosadapter ]]; then + rm -f src/plugins/taosadapter/taosadapter +fi +if [[ -e src/plugins/taosadapter/upx.tar.xz ]]; then + rm -f src/plugins/taosadapter/upx.tar.xz +fi cd $TOOLS_DIR git checkout -- . @@ -36,10 +42,10 @@ fi rm -rf $COMMUNITY_DIR/debug/* rm -rf $COMMUNITY_DIR/release/* if [[ -e $COMMUNITY_DIR/rpms ]]; then - rm -rf $COMMUNITY_DIR/rpms + rm -rf $COMMUNITY_DIR/rpms fi if [[ -e $COMMUNITY_DIR/debs ]]; then - rm -rf $COMMUNITY_DIR/debs + rm -rf $COMMUNITY_DIR/debs fi cd $CUR_DIR diff --git a/packaging/tools/remove.sh b/packaging/tools/remove.sh index 849dff3177..fa74734a24 100755 --- a/packaging/tools/remove.sh +++ b/packaging/tools/remove.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Script to stop the service and uninstall TDengine, but retain the config, data and log files. +# Script to stop and uninstall the service, but retain the config, data and log files. set -e #set -x -- GitLab