add support for .zip compressed images

This commit is contained in:
Ralph Scheuerer 2021-09-14 13:17:30 +02:00 committed by GitHub
parent f6816052bb
commit 5d893c5787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,7 @@ msg "Extracting disk image..."
case $FILE in
*"gz") gunzip -f $FILE;;
*"xz") xz -d $FILE;;
*"zip") unzip $FILE;;
*) die "Unable to handle file extension '${FILE##*.}'.";;
esac