@@ -57,6 +57,7 @@ check_proc() {
5757 fi
5858}
5959
60+ # problematic in arm/v7 and arm/v6 environment
6061get_bitness () {
6162 need_cmd head
6263 # Architecture detection without dependencies beyond coreutils.
@@ -76,6 +77,7 @@ get_bitness() {
7677 fi
7778}
7879
80+ # problematic in arm/v7 and arm/v6 environment
7981get_endianness () {
8082 local cputype=$1
8183 local suffix_eb=$2
@@ -382,6 +384,10 @@ assert_supported_architecture() {
382384 echo " arm-unknown-linux-gnueabi"
383385 return 0
384386 ;;
387+ arm-unknown-linux-gnueabihf)
388+ echo " arm-unknown-linux-gnueabi" # armv7 hf not work
389+ return 0
390+ ;;
385391 armv7-unknown-linux-gnueabihf)
386392 echo " armv7-unknown-linux-gnueabihf"
387393 return 0
@@ -452,7 +458,7 @@ download_datafuse() {
452458 rm -rf tmpdir
453459 abort_prompt_issue
454460 fi
455-
461+ log_info " ✅ Successfully download datafuse in ${_url} "
456462 srcdir=" ${tmpdir} "
457463 (cd " ${tmpdir} " && untar " ${_name} " )
458464 _status=$?
@@ -575,6 +581,7 @@ main(){
575581 need_cmd mv
576582 need_cmd tar
577583 need_cmd jq
584+ log_info " 👏👏👏 Welcome to use datafuse!"
578585# Detect architecture and ensure it's supported
579586 get_architecture || return 1
580587 local _arch=" $RETVAL "
@@ -586,8 +593,8 @@ main(){
586593 log_err " ❌ Architecture ${_arch} is not supported."
587594 abort_prompt_issue
588595 fi
596+ log_info " 😊 Your Architecture ${_arch} is supported"
589597 set_tag || return 1
590-
591598 _version=" $TAG "
592599 _name=$( set_name " $_target " " $_version " || return 1)
593600 _url=$( set_name_url " $_target " " $_version " || return 1)
0 commit comments