add support for .zip file compression
based on https://github.com/whiskerz007/proxmox_hassos_install/issues/123#issuecomment-985943330
This commit is contained in:
parent
f6816052bb
commit
167fd5424f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user