Update install.sh

pull/109/head
midoks 3 years ago
parent 6b5c7397e9
commit 9b0f2d34ad
  1. 2
      scripts/install.sh

@ -12,7 +12,7 @@ startTime=`date +%s`
_os=`uname` _os=`uname`
echo "use system: ${_os}" echo "use system: ${_os}"
if [ "${_os}" == "Darwin" ]; then if [ ${_os} == "Darwin" ]; then
OSNAME='macos' OSNAME='macos'
elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then
OSNAME='centos' OSNAME='centos'

Loading…
Cancel
Save