From 8bd381049e5a5cb0011f1135b36f9f45557bc20c Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 10 Jun 2022 15:35:11 +0800 Subject: [PATCH] up --- scripts/install.sh | 2 +- scripts/update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 4ac81ebee..22229b513 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='MAC' elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then OSNAME='CentOS' diff --git a/scripts/update.sh b/scripts/update.sh index 84f432c2d..24b7e3e12 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -9,7 +9,7 @@ startTime=`date +%s` _os=`uname` echo "use system: ${_os}" -if [ "$_os" == "Darwin" ] ; then +if [ "${_os}" == "Darwin" ] ; then OSNAME='MAC' elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then OSNAME='CentOS'