Update build.sh

This commit is contained in:
2025-09-24 11:27:33 +08:00
committed by GitHub
parent 0fa8530419
commit 4aa66b4bde

View File

@@ -195,6 +195,22 @@ compilation_script() {
exit 1 exit 1
fi fi
print_info "正在更新软件源 feeds..."
echo -e "${BLUE_COLOR}├─ 更新软件包列表...${RESET}"
if ./scripts/feeds update -a > /dev/null 2>&1; then
echo -e "${GREEN_COLOR}├─ 软件包列表更新成功${RESET}"
else
error_exit "feeds 更新失败"
fi
echo -e "${BLUE_COLOR}├─ 安装软件包依赖...${RESET}"
if ./scripts/feeds install -a > /dev/null 2>&1; then
echo -e "${GREEN_COLOR}└─ 软件包依赖安装完成${RESET}"
print_success "Feeds 更新和安装完成"
else
error_exit "feeds 安装失败"
fi
print_info "下载并执行构建脚本..." print_info "下载并执行构建脚本..."
local scripts=( local scripts=(
00-prepare_base.sh 00-prepare_base.sh