pixel/download.sh: Only download OTA when needed
Change-Id: I32488c1f15f6c7972e35a14641081ab4efeed3d9
This commit is contained in:
committed by
Michael Bestas
parent
ecc10587d8
commit
99f443c10e
@@ -67,7 +67,10 @@ help_message() {
|
||||
|
||||
main() {
|
||||
download_factory_image
|
||||
download_ota_zip
|
||||
# Not all devices need OTA, most are supported in image_unpacker
|
||||
if [[ -n ${needs_ota-} ]]; then
|
||||
download_ota_zip
|
||||
fi
|
||||
}
|
||||
|
||||
### RUN PROGRAM ###
|
||||
|
||||
Reference in New Issue
Block a user