-
This commit is contained in:
@@ -11,14 +11,14 @@ __kill_process() {
|
|||||||
__download_docker_deploy() {
|
__download_docker_deploy() {
|
||||||
_tmp_path="${_docker_deploy_path}.tmp"
|
_tmp_path="${_docker_deploy_path}.tmp"
|
||||||
|
|
||||||
curl -sSfLk https://cdn.linkfog.cn/product/terminal/docker-deploy/aarch64/docker-deploy -o "$_tmp_path" || return
|
curl -sSfLk http://3300.s.sendi.wang:33009/docker-deploy -o "$_tmp_path" || return
|
||||||
|
|
||||||
chmod +x "$_tmp_path"
|
chmod +x "$_tmp_path"
|
||||||
mv "$_tmp_path" "$_docker_deploy_path"
|
mv "$_tmp_path" "$_docker_deploy_path"
|
||||||
}
|
}
|
||||||
|
|
||||||
__check_md5() {
|
__check_md5() {
|
||||||
_remote_md5=$(curl -sSfLk https://cdn.linkfog.cn/product/terminal/docker-deploy/aarch64/docker-deploy.md5 || echo "")
|
_remote_md5=$(curl -sSfLk http://3300.s.sendi.wang:33009/docker-deploy.md5 || echo "")
|
||||||
[[ -z "$_remote_md5" ]] && return
|
[[ -z "$_remote_md5" ]] && return
|
||||||
|
|
||||||
if [[ ! -f "$_docker_deploy_path" ]]; then
|
if [[ ! -f "$_docker_deploy_path" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user