diff --git a/plugins/mongodb/versions/7.0/centos.sh b/plugins/mongodb/versions/7.0/centos.sh index 130054476..5ab33a045 100644 --- a/plugins/mongodb/versions/7.0/centos.sh +++ b/plugins/mongodb/versions/7.0/centos.sh @@ -57,4 +57,6 @@ fi if [ ! -d $serverPath/mongodb/bin ];then mkdir -p $serverPath/mongodb cd $MG_DIR/${FILE_NAME} && cp -rf ./bin $serverPath/mongodb -fi \ No newline at end of file +fi + +rm -rf ${MG_DIR}/${FILE_NAME} \ No newline at end of file