Update blinka installer to handle unsupported Pis
This commit is contained in:
parent
bbeb37b210
commit
3dc39067e8
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
""")
|
""")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue