Update install.sh

This commit is contained in:
dami
2026-09-11 20:31:05 +08:00
parent 91ff2f7550
commit 6cd13022f1
+1 -1
View File
@@ -16,7 +16,7 @@ mysqlDir=${serverPath}/source/mysql
_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 -Eq "openSUSE" /etc/*-release; then elif grep -Eq "openSUSE" /etc/*-release; then
OSNAME='opensuse' OSNAME='opensuse'