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

Fixed: Unable to handle file extension 'zip' - No unnecessary package #130

Open
fredrikscode opened this issue Dec 31, 2021 · 4 comments
Open

Comments

@fredrikscode
Copy link

fredrikscode commented Dec 31, 2021

Simply added:
*"zip") gunzip -f -S .zip $FILE ;;
(OBS: to the copy of the code in my repo, not as some sort of argument/parameter to Whiskerz's script)

No unnecessary package needed. I don't know why people recommended and even sent pull requests regarding installing unrar/unzip when gzip is baked in and doesn't need to be installed. Whisker even used gzip in the script.. :)

Clone from my repo if you're not comfortable adding it yourself. Feel free to submit an issue on my repo if the script needs an update.

@kennsy99
Copy link

kennsy99 commented Jan 5, 2022

Simply added: *"zip") gunzip -f -S .zip $FILE ;;

No unnecessary package needed. I don't know why people recommended and even sent pull requests regarding installing unrar when gzip is baked in. Whisker even used gzip in the script.. :)

Clone from my repo if you're not comfortable adding it yourself. Feel free to submit an issue on my repo if the script needs an update.

Mine still says "unable to handle file extension "zip""
The code I copy and pasted is: root@pve:~# bash -c "$(wget -qLO - https:/whiskerz007/proxmox_hassos_install/raw/master/install.sh) *"zip") gunzip -f -S .zip $FILE ;;"
I'm sure noob with coding so maybe I did something wrong.
I also tried this https:/whiskerz007/proxmox_hassos_install/issues/113#issuecomment-857586202 solution but it didn't work either. Any ideas?

@fredrikscode
Copy link
Author

fredrikscode commented Jan 7, 2022

Simply added: *"zip") gunzip -f -S .zip $FILE ;;
No unnecessary package needed. I don't know why people recommended and even sent pull requests regarding installing unrar when gzip is baked in. Whisker even used gzip in the script.. :)
Clone from my repo if you're not comfortable adding it yourself. Feel free to submit an issue on my repo if the script needs an update.

Mine still says "unable to handle file extension "zip"" The code I copy and pasted is: root@pve:~# bash -c "$(wget -qLO - https:/whiskerz007/proxmox_hassos_install/raw/master/install.sh) *"zip") gunzip -f -S .zip $FILE ;;" I'm sure noob with coding so maybe I did something wrong. I also tried this https:/whiskerz007/proxmox_hassos_install/issues/113#issuecomment-857586202 solution but it didn't work either. Any ideas?

Sorry for the late response. Yeah that's not it. Simply run this command instead of Whisker's command to install:
bash -c "$(wget -qLO - https:/fredrikscode/proxmox_hassos_install/raw/master/install.sh)"

This:
*"zip") gunzip -f -S .zip $FILE ;;
Is not someting you put as an argument to the script itself. It's in the code.

@anderso
Copy link

anderso commented Jan 15, 2022

This fixed the issue for me.

@sourcecodemage
Copy link

I tried running frederikscode script, it doesn't seem to do anything. after I press enter, it gives the prompt with no other actions.

root@pve:~# bash -c "$(wget -qLO - https:/fredrikscode/proxmox_hassos_install/raw/master/install.sh)" root@pve:~#

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