added extraction method for .zip
This commit is contained in:
parent
f6816052bb
commit
8f108a0d48
@ -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##*.}'.";;
|
||||
|
Loading…
Reference in New Issue
Block a user