From 9b0f2d34ad387760df495d7009ef363a49e2219c Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 10 Jun 2022 15:59:25 +0800 Subject: [PATCH] Update install.sh --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 69c0b697c..d3ee03820 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -12,7 +12,7 @@ startTime=`date +%s` _os=`uname` echo "use system: ${_os}" -if [ "${_os}" == "Darwin" ]; then +if [ ${_os} == "Darwin" ]; then OSNAME='macos' elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then OSNAME='centos'