From 8f108a0d48d7b9fcdb512ab4708bd8c52eebf2e0 Mon Sep 17 00:00:00 2001 From: mashuptwice Date: Fri, 7 Jan 2022 04:01:40 +0000 Subject: [PATCH 1/2] added extraction method for .zip --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 422e5b2..1d1bc85 100644 --- a/install.sh +++ b/install.sh @@ -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##*.}'.";; From a79925ee5ba3cc118fadff4870b09c513e6629d7 Mon Sep 17 00:00:00 2001 From: mashuptwice Date: Tue, 11 Jan 2022 20:44:38 +0000 Subject: [PATCH 2/2] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1d1bc85..3a265b4 100644 --- a/install.sh +++ b/install.sh @@ -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##*.}'.";;