fix: 修正脚本中的文件名错误并优化执行流程
修复了 `init_env.sh` 中下载 `docker_password.txt` 时的文件名错误,确保文件正确命名。同时优化了 `main_local.sh` 的执行流程,移除了不必要的空行并确保脚本正确执行。
This commit is contained in:
1 parent
4d0e956add
commit
602d5e2d60
2 files changed
+4
-5
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ wget -O ~/.auto_cert_renewal.sh https://raw.githubusercontent.com/shakenny/conta
|
|||||||
chmod +x ~/.auto_cert_renewal.sh
|
chmod +x ~/.auto_cert_renewal.sh
|
||||||
|
|
||||||
# 下载docker_password.txt
|
# 下载docker_password.txt
|
||||||
wget -O ~/docker_password https://raw.githubusercontent.com/shakenny/containerized-stack/main/local/docker_password.txt
|
wget -O ~/docker_password.txt https://raw.githubusercontent.com/shakenny/containerized-stack/main/local/docker_password.txt
|
||||||
|
|
||||||
# 读取 Docker Hub 登录密码
|
# 读取 Docker Hub 登录密码
|
||||||
DOCKER_PASSWORD=$(cat docker_password.txt)
|
DOCKER_PASSWORD=$(cat docker_password.txt)
|
||||||
|
|||||||
+3
-4
@@ -1,6 +1,5 @@
|
|||||||
bash <(curl -sSL https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh)
|
|
||||||
|
|
||||||
|
|
||||||
cd ~ || exit
|
cd ~ || exit
|
||||||
wget -O ~/.init_env.sh https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh
|
wget -O ~/.init_env.sh https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh
|
||||||
chmod +x ~/.init_env.sh
|
chmod +x ~/.init_env.sh
|
||||||
|
|
||||||
|
~/.init_env.sh
|
||||||
Reference in new issue
Block a user