Commit b062da0 1 parent 0b30bdd commit b062da0 Copy full SHA for b062da0
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -55,16 +55,19 @@ http_get() {
55
55
echo " File ${2} already exists; not downloading again"
56
56
elif check_exists curl; then
57
57
curl --insecure --retry 5 " ${1} " -o " ${2} "
58
- else
58
+ elif check_exists wget ; then
59
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
60
63
fi
61
64
62
65
sha256_check " ${3} " " ${2} "
63
66
}
64
67
65
68
# Ensure the commands we use exist on the system
66
69
if ! check_exists patch; then
67
- 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."
68
71
exit 1
69
72
fi
70
73
You can’t perform that action at this time.
0 commit comments