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 b00ade9 commit 87e4e46Copy full SHA for 87e4e46
get.sh
@@ -2,6 +2,16 @@
2
# set -x
3
set -eo pipefail
4
5
+if ! [ -x "$(command -v curl)" ]; then
6
+ echo 'Error: curl is not installed.' >&2
7
+ exit 1
8
+fi
9
+
10
+if ! [ -x "$(command -v tar)" ]; then
11
12
13
14
15
BINARY_NAME="hashnode"
16
HOST_OS=${HOST_OS:-$(uname | tr '[:upper:]' '[:lower:]')}
17
0 commit comments