hypriot / flash

Command line script to flash SD card images of any kind
MIT License
1k stars 176 forks source link

Make xz compression check case insensitive #168

Closed StefanScherer closed 4 years ago

StefanScherer commented 4 years ago

I tried to flash Ubuntu 64bit, but flash didn't extract the xz archive.

$ file ~/Downloads/ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img.xz
/Users/stefanscherer/Downloads/ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img.xz: XZ compressed data

This PR makes the xz compression check case insensitive.