-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Install script doesn't work on Fedora 40 #90
Comments
Fedora also uses |
Thanks for taking the time to make this issue. I'll look into it and hopefully have a fix out soon. |
looked into it, you're probably using wget2, which fedora uses by default instead of wget. wget2 doesnt have the --show-progress flag, causing the script to crash. As a quickfix you could tweak the install script a bit to use curl instead of wget |
Nice find! I think the better solution would be to add a check on the version of |
@chung-leong Can you try the #92? curl https://raw.githubusercontent.com/isFakeAccount/zvm/master/install.sh | bash I tested it on https://github.com/isFakeAccount/zvm/actions/runs/9982103634. Seems to work. |
@i-am-wololo Does fedora alias wget to wget2? |
@isFakeAccount Yes it does alias it like that. Right now i usually download the script and then remove the show-progress flags but that obviously still is a little extra work on each upgrade. |
I think here it would make more sense to provide a flag to set the config file. I will usually use my .zshenv for these kind of configs. |
That would make sense. Some kind of automatic determination would be good too, with the flag as a backup in case it couldn't make a decision or the user knows what they want. I realize I have a blind spot as I develop on Debian and test on SUSE. |
You could have a big conditional to cover for it but it mean that red text saying " Unknown option 'show-progress' " but it works. |
Hey, I just wanted to double check if this was solved? I know it kind of languished, but we now use wget2 if it's present on your system. |
It's fixed. I managed to install zvm on Fedora 40 without encountering any issue. |
Describe the bug
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: