From 3dc39067e8c2ce0204eba1e1d3de2e87611821bc Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Wed, 15 Jan 2025 12:38:32 -0800 Subject: [PATCH] Update blinka installer to handle unsupported Pis --- raspi-blinka.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/raspi-blinka.py b/raspi-blinka.py index bfed7ec..66e422e 100644 --- a/raspi-blinka.py +++ b/raspi-blinka.py @@ -112,6 +112,8 @@ def main(): shell.clear() # Check Raspberry Pi and Bail pi_model = shell.get_board_model() + if not pi_model: + shell.bail("This model of Raspberry Pi is not currently supported by Blinka") print("""This script configures your Raspberry Pi and installs Blinka """)