From 58cb4cd35da6bc0176024f061d8903c50324c91e Mon Sep 17 00:00:00 2001 From: shylinux Date: Wed, 1 Mar 2023 13:45:36 +0800 Subject: [PATCH] opt some --- src/main.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.sh b/src/main.sh index 48282789..ece96219 100644 --- a/src/main.sh +++ b/src/main.sh @@ -1,11 +1,5 @@ #!/bin/sh -_down_tar() { # 下载文件 file path - [ -f $1 ] && return; _down_big_file "$@" && tar -xf $1 -} -_down_tars() { # 下载文件 file... - for file in "$@"; do _down_tar $file publish/$file; done -} main() { case "$1" in app) # 生产环境