forked from OERV-BSP/image-builder
fix: script: ignore package lists not ending with .list and .group
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user