We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b30bdd commit b062da0Copy full SHA for b062da0
contrib/install_db4.sh
@@ -55,16 +55,19 @@ http_get() {
55
echo "File ${2} already exists; not downloading again"
56
elif check_exists curl; then
57
curl --insecure --retry 5 "${1}" -o "${2}"
58
- else
+ elif check_exists wget; then
59
wget --no-check-certificate "${1}" -O "${2}"
60
+ else
61
+ echo "Simple transfer utilities 'curl' and 'wget' not found. Please install one of them and try again."
62
+ exit 1
63
fi
64
65
sha256_check "${3}" "${2}"
66
}
67
68
# Ensure the commands we use exist on the system
69
if ! check_exists patch; then
- echo "Command-line tool 'patch' not found. Install patch and try again."
70
+ echo "Command-line tool 'patch' not found. Install patch and try again."
71
exit 1
72
73
0 commit comments