From b62995eaa996657ade554f0a90f4aba66d51556a Mon Sep 17 00:00:00 2001 From: Kenny Yang Date: Mon, 19 May 2025 10:07:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E8=84=9A=E6=9C=AC=EF=BC=8C=E7=AE=80=E5=8C=96?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 `install_entry.sh` 中的初始化逻辑合并到 `main.sh` 中,直接通过 curl 执行远程脚本,减少本地文件操作,简化安装流程并提高可维护性。 --- install_entry.sh | 3 --- main.sh | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 install_entry.sh create mode 100644 main.sh diff --git a/install_entry.sh b/install_entry.sh deleted file mode 100644 index 8c733a8..0000000 --- a/install_entry.sh +++ /dev/null @@ -1,3 +0,0 @@ -cd ~ -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 diff --git a/main.sh b/main.sh new file mode 100644 index 0000000..a1bf36d --- /dev/null +++ b/main.sh @@ -0,0 +1 @@ +bash <(curl -sSL https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh) \ No newline at end of file