Update install.sh
This commit is contained in:
parent
8f108a0d48
commit
a79925ee5b
@ -111,7 +111,7 @@ FILE=$(basename $URL)
|
|||||||
# Extract Home Assistant disk image
|
# Extract Home Assistant disk image
|
||||||
msg "Extracting disk image..."
|
msg "Extracting disk image..."
|
||||||
case $FILE in
|
case $FILE in
|
||||||
*"zip") unzip $FILE;;
|
*"zip") gunzip -S .zip -f $FILE ;;
|
||||||
*"gz") gunzip -f $FILE;;
|
*"gz") gunzip -f $FILE;;
|
||||||
*"xz") xz -d $FILE;;
|
*"xz") xz -d $FILE;;
|
||||||
*) die "Unable to handle file extension '${FILE##*.}'.";;
|
*) die "Unable to handle file extension '${FILE##*.}'.";;
|
||||||
|
Loading…
Reference in New Issue
Block a user