mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/create_addon: create addons for projects where devices are used (like Amlogic instead of S905)
This commit is contained in:
parent
ea2dac174c
commit
d0eefca7f0
@ -37,7 +37,12 @@ not_supported() {
|
||||
|
||||
if [ -n "$PKG_ADDON_PROJECTS" ]; then
|
||||
listcontains "$PKG_ADDON_PROJECTS" "!${DEVICE:-$PROJECT}" && not_supported
|
||||
listcontains "$PKG_ADDON_PROJECTS" "${DEVICE:-$PROJECT}" || listcontains "$PKG_ADDON_PROJECTS" "any" || not_supported
|
||||
|
||||
if ! listcontains "$PKG_ADDON_PROJECTS" "${DEVICE:-$PROJECT}" &&
|
||||
! listcontains "$PKG_ADDON_PROJECTS" "${PROJECT}" &&
|
||||
! listcontains "$PKG_ADDON_PROJECTS" "any"; then
|
||||
not_supported
|
||||
fi
|
||||
fi
|
||||
|
||||
$SCRIPTS/checkdeps
|
||||
|
Loading…
x
Reference in New Issue
Block a user