From 8f108a0d48d7b9fcdb512ab4708bd8c52eebf2e0 Mon Sep 17 00:00:00 2001 From: mashuptwice Date: Fri, 7 Jan 2022 04:01:40 +0000 Subject: [PATCH] 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##*.}'.";;