Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Can't handle zip extension" #123

Open
brettferrell opened this issue Sep 26, 2021 · 3 comments
Open

"Can't handle zip extension" #123

brettferrell opened this issue Sep 26, 2021 · 3 comments

Comments

@brettferrell
Copy link

Throws error on zip file....

@tteck
Copy link

tteck commented Sep 26, 2021

@heldopsokken
Copy link

See here for workaround:
#113 (comment)

@4HMZ4
Copy link

4HMZ4 commented Dec 4, 2021

I just cloned the install script and added a line - *"zip") unzip $FILE;; - to handle the zip and it worked great. (you may have to install unzip, I already had it as I usid it for other stuff)

# Extract Home Assistant disk image
msg "Extracting disk image..."
case $FILE in
  *"gz") gunzip -f $FILE;;
  *"xz") xz -d $FILE;;
  *"zip") unzip $FILE;;
  *) die "Unable to handle file extension '${FILE##*.}'.";;
esac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants