File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 84
84
# ## CONFIGURATION ###
85
85
# ####################
86
86
87
- echo " "
88
-
89
87
export CORTEX_VERSION_STABLE=master
90
88
91
89
export CORTEX_CONFIG=" ${CORTEX_CONFIG:- " " } "
@@ -188,7 +186,7 @@ if [ "$arg2" != "cli" ]; then
188
186
fi
189
187
190
188
if [ " $arg1 " = " install" ] && [ " $arg2 " = " " ] && [ " $arg3 " = " " ]; then
191
- echo " Configuration "
189
+ echo -e " \nConfiguration "
192
190
echo " ○ cluster name: $CORTEX_CLUSTER "
193
191
echo " ○ region: $CORTEX_REGION "
194
192
echo " ○ instance type: $CORTEX_NODE_TYPE "
@@ -309,9 +307,9 @@ function check_dep_curl() {
309
307
function install_cli() {
310
308
set -e
311
309
312
- check_dep_curl
310
+ echo -e " Installing CLI (/usr/local/bin/cortex) ... "
313
311
314
- echo -e " \nInstalling CLI (/usr/local/bin/cortex) ... "
312
+ check_dep_curl
315
313
316
314
CORTEX_SH_TMP_DIR=" $HOME /.cortex-sh-tmp"
317
315
rm -rf $CORTEX_SH_TMP_DIR && mkdir -p $CORTEX_SH_TMP_DIR
@@ -424,6 +422,7 @@ function prompt_for_email() {
424
422
if [ " $CORTEX_ENABLE_TELEMETRY " != " false" ]; then
425
423
echo
426
424
read -p " Email address [press enter to skip]: "
425
+ echo
427
426
428
427
if [[ ! -z " $REPLY " ]]; then
429
428
curl -k -X POST -H " Content-Type: application/json" $CORTEX_TELEMETRY_URL /support -d ' {"email_address": "' $REPLY ' ", "source": "cortex.sh"}' > /dev/null 2>&1 || true
You can’t perform that action at this time.
0 commit comments