mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 19:26:50 +00:00
add a - option in packages arch/platform files to tell blacklist package to a given target
This commit is contained in:
parent
1f76aa0aeb
commit
f40e316aa6
@ -10,11 +10,11 @@ if [ -z "$1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $PKG_DIR/arch ]; then
|
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
|
fi
|
||||||
|
|
||||||
if [ -f $PKG_DIR/platform ]; then
|
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
|
fi
|
||||||
|
|
||||||
unset INSTALL
|
unset INSTALL
|
||||||
|
@ -10,11 +10,11 @@ if [ -z "$1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $PKG_DIR/arch ]; then
|
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
|
fi
|
||||||
|
|
||||||
if [ -f $PKG_DIR/platform ]; then
|
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
|
fi
|
||||||
|
|
||||||
if [ -d $PKG_DIR/init.d ]; then
|
if [ -d $PKG_DIR/init.d ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user