This commit is contained in:
Olia Lisa 2025-12-09 12:13:11 +08:00
parent 62ec78ac54
commit 9dc4858d2f

View File

@ -31,7 +31,7 @@ check_dependencies() {
exit 1 exit 1
} }
source ./bin/utils/bash.sh source ./bin/utils/base.sh
check_jq || exit_with_dep_error check_jq || exit_with_dep_error
check_docker || exit_with_dep_error check_docker || exit_with_dep_error
check_docker_compose || exit_with_dep_error check_docker_compose || exit_with_dep_error
@ -39,7 +39,7 @@ check_dependencies() {
# 安装依赖 # 安装依赖
install_dependencies() { install_dependencies() {
source ./bin/utils/bash.sh source ./bin/utils/base.sh
if ! command -v jq >/dev/null 2>&1; then if ! command -v jq >/dev/null 2>&1; then
echo "jq 未安装,开始安装..." echo "jq 未安装,开始安装..."