Fixed prompting of install type only if not specified
This commit is contained in:
parent
35821306d3
commit
6a96118081
1 changed files with 2 additions and 2 deletions
|
|
@ -615,7 +615,7 @@ Run time of up to 5 minutes. Reboot required!
|
|||
shell.bail("Unable to update /etc/pointercal")
|
||||
|
||||
# ask for console access
|
||||
if install_type == "console" or shell.prompt("Would you like the console to appear on the PiTFT display?"):
|
||||
if install_type == "console" or (install_type is None and shell.prompt("Would you like the console to appear on the PiTFT display?")):
|
||||
shell.info("Updating console to PiTFT...")
|
||||
if not uninstall_fbcp():
|
||||
shell.bail("Unable to uninstall fbcp")
|
||||
|
|
@ -626,7 +626,7 @@ Run time of up to 5 minutes. Reboot required!
|
|||
if not uninstall_console():
|
||||
shell.bail("Unable to configure console")
|
||||
|
||||
if install_type == "fbcp" or shell.prompt("Would you like the HDMI display to mirror to the PiTFT display?"):
|
||||
if install_type == "fbcp" or (install_type is None and shell.prompt("Would you like the HDMI display to mirror to the PiTFT display?")):
|
||||
shell.info("Adding FBCP support...")
|
||||
if not install_fbcp():
|
||||
shell.bail("Unable to configure fbcp")
|
||||
|
|
|
|||
Loading…
Reference in a new issue