dzygoon opened a new issue, #6221:
URL: https://github.com/apache/seatunnel/issues/6221

   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   At present, the script download does not detect whether the jar package 
already exists in the local libs directory.So i edit it.
   
![image](https://github.com/apache/seatunnel/assets/96854451/aa823a03-4d9a-48a7-87cd-eea38382cd45)
   
   
   `for datasource in "${datasource_list[@]}"
   do
      if [ -e "$DATASOURCE_LIB_DIR/${datasource}-${version}.jar" ]; then
         echo "${datasource}-${version}.jar Already Exist."
      else
         echo "Downloading datasource: ${datasource}"
         wget  
https://repo.maven.apache.org/maven2/org/apache/seatunnel/${datasource}/${version}/${datasource}-${version}.jar
 -P $DATASOURCE_LIB_DIR
      fi
   done`
   
   ### Usage Scenario
   
   seatunnel-web download datasource  connector jar
   
   ### Related issues
   
   none
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to