mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
scripts/install: fix support for disable build of packages not supported by given arch/platform
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d65ac8b213
commit
ef642f3ed5
@ -10,10 +10,12 @@ if [ -z "$1" ]; then
|
||||
fi
|
||||
|
||||
if [ -f $PKG_DIR/arch ]; then
|
||||
grep -q "$TARGET_ARCH" "$PKG_DIR/arch" || exit 0
|
||||
grep -q "\-$TARGET_ARCH" "$PKG_DIR/arch" && exit 0
|
||||
fi
|
||||
|
||||
if [ -f $PKG_DIR/platform ]; then
|
||||
grep -q "$TARGET_PLATFORM" "$PKG_DIR/platform" || exit 0
|
||||
grep -q "\-$TARGET_PLATFORM" "$PKG_DIR/platform" && exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user