add support for .zip file compression

based on https://github.com/whiskerz007/proxmox_hassos_install/issues/123#issuecomment-985943330
This commit is contained in:
Ben O'Bryan 2021-12-30 22:57:21 -06:00 committed by GitHub
parent f6816052bb
commit 167fd5424f
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