ChrisTitusTech / mybash

My Bash profile - Highly customized Starship Theme - Just imagine Powerlevel10k and Nord Theme had a baby.
406 stars 208 forks source link

wget: unrecognized option '--show-progress' on Fedora 40 #83

Open beppeilgommista opened 3 months ago

beppeilgommista commented 3 months ago

Hi, i get the error in title in the "installing font" section of the script.

i tried to delete the option and after that everything run without error.

winget --version

GNU Wget2 2.1.0

after that i tried to replace line 152 from this

        wget -q --show-progress $FONT_URL -O "$TEMP_DIR"/"${FONT_NAME}".zip

to this

        wget -q --progress=bar:force $FONT_URL -O "$TEMP_DIR"/"${FONT_NAME}".zip

and the progress bar shows without error.

sorry if i did something wrong, is my first contribution in a github project. please don't be too stern to me.

lj3954 commented 3 months ago

I came across this while working on quickemu last year: https://github.com/quickemu-project/quickemu/issues/878. The best solution is probably to replace wget with curl, since it's very stable and installed nearly everywhere.

chpgyr commented 3 months ago

Hi, Another option is to install the Meslo.. font on Fedora 40 manually before running the setup script. The installation worked perfectly this way.