From bbf67874a035a09dc415fc70461edaca91f4c478 Mon Sep 17 00:00:00 2001 From: Hangfan Li Date: Wed, 10 Jun 2026 15:36:03 +0800 Subject: [PATCH] fix: script: ignore package lists not ending with .list and .group --- tools/receipe_helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/receipe_helper.sh b/tools/receipe_helper.sh index b81cdd4..3c09007 100644 --- a/tools/receipe_helper.sh +++ b/tools/receipe_helper.sh @@ -100,9 +100,9 @@ install_packages() { execute_script_dir "${line}/post.d" "${1}" fi elif [ -f "${actualpath}" ]; then - if echo "${line}" | grep ".*.list" > /dev/null; then + if echo "${line}" | grep ".*.list$" > /dev/null; then install_package_list "${line}" - elif echo "${line}" | grep ".*.group" > /dev/null; then + elif echo "${line}" | grep ".*.group$" > /dev/null; then install_package_group "${line}" else logw "Unsupported package list, ignoring ${line}"