Update install.sh

This commit is contained in:
mashuptwice 2022-01-11 20:44:38 +00:00 committed by GitHub
parent 8f108a0d48
commit a79925ee5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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