|
|
@ -48,7 +48,11 @@ fi |
|
|
|
sh -x $curPath/versions/$2/install.sh $1 |
|
|
|
sh -x $curPath/versions/$2/install.sh $1 |
|
|
|
|
|
|
|
|
|
|
|
if [ "${action}" == "install" ];then |
|
|
|
if [ "${action}" == "install" ];then |
|
|
|
# #初始化 |
|
|
|
#初始化 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$?" != "0" ];then |
|
|
|
|
|
|
|
exit $? |
|
|
|
|
|
|
|
fi |
|
|
|
cd ${rootPath} && python3 ${rootPath}/plugins/mysql-apt/index.py start ${type} |
|
|
|
cd ${rootPath} && python3 ${rootPath}/plugins/mysql-apt/index.py start ${type} |
|
|
|
cd ${rootPath} && python3 ${rootPath}/plugins/mysql-apt/index.py initd_install ${type} |
|
|
|
cd ${rootPath} && python3 ${rootPath}/plugins/mysql-apt/index.py initd_install ${type} |
|
|
|
fi |
|
|
|
fi |
|
|
|