From 588ec435435837345047b0f258c3684ca031e01e Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 12 Aug 2022 21:35:48 +0800 Subject: [PATCH] Update install.sh --- plugins/mysql-yum/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/mysql-yum/install.sh b/plugins/mysql-yum/install.sh index 2831f57dc..591f8aff8 100755 --- a/plugins/mysql-yum/install.sh +++ b/plugins/mysql-yum/install.sh @@ -32,8 +32,8 @@ fi if [ "${action}" == "uninstall" ];then - cd ${rootPath} && python3 ${rootPath}/plugins/mysql-yum/index.py stop ${type} - cd ${rootPath} && python3 ${rootPath}/plugins/mysql-yum/index.py initd_uninstall ${type} + cd ${rootPath} && python3 plugins/mysql-yum/index.py stop ${type} + cd ${rootPath} && python3 plugins/mysql-yum/index.py initd_uninstall ${type} cd $curPath fi @@ -41,6 +41,6 @@ sh -x $curPath/versions/$2/install.sh $1 if [ "${action}" == "install" ];then # #初始化 - cd ${rootPath} && python3 ${rootPath}/plugins/mysql-yum/index.py start ${type} - cd ${rootPath} && python3 ${rootPath}/plugins/mysql-yum/index.py initd_install ${type} + cd ${rootPath} && python3 plugins/mysql-yum/index.py start ${type} + cd ${rootPath} && python3 plugins/mysql-yum/index.py initd_install ${type} fi