summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2021-02-21 10:31:32 -0500
committerBrian Potchik <brian@vector35.com>2021-02-21 10:31:32 -0500
commitb8146dbafb50b2c1fe0d9a1991d671bb0f971e03 (patch)
tree31338407b2316ba6db47f0fa2781ffbe941f02dd /scripts
parent2f28cc9cfd18f6a0746a9c3f551320931167d340 (diff)
Fix download_headless --install option check.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/download_headless.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download_headless.py b/scripts/download_headless.py
index 5eacef9e..fbd1a2a3 100755
--- a/scripts/download_headless.py
+++ b/scripts/download_headless.py
@@ -88,7 +88,7 @@ def download_and_install(serial: str=None, downloaddir: str=None, dev: bool=Fals
download_path = download_headless(serial, downloaddir, dev)
logging.info(f"Successfully downloaded to: {download_path}")
- if install is not None:
+ if install is True:
install_zip(download_path, installdir, clean)
logging.info(f"Successfully installed to {installdir}")