Skip to content

contrib: add check for wget command in install_db4.sh#1

Merged
Baumgartl merged 1 commit into
masterfrom
contrib-patches
Dec 2, 2021
Merged

contrib: add check for wget command in install_db4.sh#1
Baumgartl merged 1 commit into
masterfrom
contrib-patches

Conversation

@Baumgartl
Copy link
Copy Markdown
Owner

This PR is motivated by bitcoin@7bb8eb0 (see also bitcoin#23579) and ensures that install_db4.sh will check for curl and wget utilities. Currently, the conditional statement in the http_get() function assumes that wget is always available but we actually do not know it since there is no check or validation for the wget command. So let's make sure that we check for both commands and print an error message if they are missing.

@Baumgartl Baumgartl merged commit c9ca5ef into master Dec 2, 2021
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.

1 participant