Merge pull request #330 from makermelissa/main

Update blinka installer to handle unsupported Pis
This commit is contained in:
Limor "Ladyada" Fried 2025-01-15 15:58:20 -05:00 committed by GitHub
commit a68ef4b415
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,6 +112,8 @@ def main():
shell.clear() shell.clear()
# Check Raspberry Pi and Bail # Check Raspberry Pi and Bail
pi_model = shell.get_board_model() 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 print("""This script configures your
Raspberry Pi and installs Blinka Raspberry Pi and installs Blinka
""") """)