Update install.sh

This commit is contained in:
midoks
2022-06-10 15:41:12 +08:00
parent b5b8287a99
commit 21d47ff485
+1 -1
View File
@@ -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'