移除对 Bash 安装的检查,简化脚本逻辑

This commit is contained in:
Olia Lisa
2026-01-14 17:27:31 +08:00
parent 641f212400
commit 962243851c
3 changed files with 1 additions and 14 deletions
-3
View File
@@ -11,9 +11,6 @@ run() {
# 检查jq是否安装
check_jq
# 检查bash是否安装
check_bash_installed
# 如果容器已经启动, 则先停止容器
local compose_file="$script_dir/../docker-compose.yml"
if docker-compose -f "$compose_file" ps | grep -q "Up"; then