Skip to content

Conversation

@rouson
Copy link
Contributor

@rouson rouson commented Apr 7, 2021

Current behavior

The install.sh installation script fails if curl is not present.

Behavior enabled by this PR

Use wget when curl is missing.

Use Case

The Lubuntu lightweight Ubuntu distribution has wget by default but not curl.

Copy link
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sharing.

Please use:

wget -O - $SOURCE_URL > $BOOTSTRAP_DIR/fpm.f90

or

wget $SOURCE_URL -O $BOOTSTRAP_DIR/fpm.f90

to avoid overwriting a file in the user workspace.

Also, please use a fork to propose patches in the future.

Damian Rouson added 2 commits April 7, 2021 10:30
As requested at

#429 (review)

this avoids overwriting a file in the user workspace.
@rouson
Copy link
Contributor Author

rouson commented Apr 7, 2021

@awvwgk the latest commit fulfills your requested change. I think this is ready to merge if the CI tests pass. Shall I do the merge or someone else?

@awvwgk awvwgk merged commit b15db3c into master Apr 7, 2021
@awvwgk awvwgk deleted the alternative-downloader branch April 7, 2021 20:04
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

Successfully merging this pull request may close these issues.

3 participants