From 5628086b7d42a12bf3c42675c2db5f4576dad980 Mon Sep 17 00:00:00 2001 From: lihui Date: Fri, 17 Jan 2020 11:08:09 +0800 Subject: [PATCH] [TBASE-1357] --- packaging/tools/install.sh | 15 ++++++++------- packaging/tools/make_install.sh | 6 +++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/packaging/tools/install.sh b/packaging/tools/install.sh index 0edabbe0bf..beca20e68d 100644 --- a/packaging/tools/install.sh +++ b/packaging/tools/install.sh @@ -78,23 +78,24 @@ osinfo=$(cat /etc/os-release | grep "NAME" | cut -d '"' -f2) #echo "osinfo: ${osinfo}" os_type=0 if echo $osinfo | grep -qwi "ubuntu" ; then - echo "this is ubuntu system" + echo "This is ubuntu system" os_type=1 elif echo $osinfo | grep -qwi "debian" ; then - echo "this is debian system" + echo "This is debian system" os_type=1 elif echo $osinfo | grep -qwi "Kylin" ; then - echo "this is Kylin system" + echo "This is Kylin system" os_type=1 elif echo $osinfo | grep -qwi "centos" ; then - echo "this is centos system" + echo "This is centos system" os_type=2 elif echo $osinfo | grep -qwi "fedora" ; then - echo "this is fedora system" + echo "This is fedora system" os_type=2 else - echo "this is other linux system" - os_type=0 + echo "${osinfo}: This is an officially unverified linux system, If there are any problems with the installation and operation, " + echo "please feel free to contact taosdata.com for support." + os_type=1 fi function kill_taosd() { diff --git a/packaging/tools/make_install.sh b/packaging/tools/make_install.sh index 97a95685a9..2200c7f13d 100755 --- a/packaging/tools/make_install.sh +++ b/packaging/tools/make_install.sh @@ -105,10 +105,10 @@ if [ "$osType" != "Darwin" ]; then echo "this is fedora system" os_type=2 else - echo "this is other linux system" - os_type=0 + echo "${osinfo}: This is an officially unverified linux system, If there are any problems with the installation and operation, " + echo "please feel free to contact taosdata.com for support." + os_type=1 fi - fi function kill_taosd() { -- GitLab