pull/109/head
midoks 3 years ago
parent 77056165bb
commit 8bd381049e
  1. 2
      scripts/install.sh
  2. 2
      scripts/update.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='MAC' OSNAME='MAC'
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'

@ -9,7 +9,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='MAC' OSNAME='MAC'
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