diff --git a/scripts/install b/scripts/install index cbf67edae6..08c02afff2 100755 --- a/scripts/install +++ b/scripts/install @@ -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