From 4d0e956adde80930da15c8c23f15990f243d4bd8 Mon Sep 17 00:00:00 2001 From: Kenny Yang Date: Mon, 19 May 2025 21:00:31 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E8=84=9A=E6=9C=AC=E4=BB=A5=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E5=B9=B6=E8=AE=BE=E7=BD=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 `main_local.sh` 脚本,使其在初始化环境后下载 `.init_env.sh` 文件并设置可执行权限。这确保了脚本在本地环境中可以正确执行。 --- main_local.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main_local.sh b/main_local.sh index a1bf36d..79b2ef3 100644 --- a/main_local.sh +++ b/main_local.sh @@ -1 +1,6 @@ -bash <(curl -sSL https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh) \ No newline at end of file +bash <(curl -sSL https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh) + + +cd ~ || exit +wget -O ~/.init_env.sh https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh +chmod +x ~/.init_env.sh \ No newline at end of file