added extraction method for .zip

This commit is contained in:
mashuptwice 2022-01-07 04:01:40 +00:00 committed by GitHub
parent f6816052bb
commit 8f108a0d48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,6 +111,7 @@ FILE=$(basename $URL)
# Extract Home Assistant disk image
msg "Extracting disk image..."
case $FILE in
*"zip") unzip $FILE;;
*"gz") gunzip -f $FILE;;
*"xz") xz -d $FILE;;
*) die "Unable to handle file extension '${FILE##*.}'.";;