|
|
@ -22,18 +22,17 @@ action=$1 |
|
|
|
type=$2 |
|
|
|
type=$2 |
|
|
|
|
|
|
|
|
|
|
|
if [ "${2}" == "" ];then |
|
|
|
if [ "${2}" == "" ];then |
|
|
|
echo '缺少安装脚本...' > $install_tmp |
|
|
|
echo '缺少安装脚本...' > |
|
|
|
exit 0 |
|
|
|
exit 0 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -d $curPath/versions/$2 ];then |
|
|
|
if [ ! -d $curPath/versions/$2 ];then |
|
|
|
echo '缺少安装脚本2...' > $install_tmp |
|
|
|
echo '缺少安装脚本2...' |
|
|
|
exit 0 |
|
|
|
exit 0 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# cd /www/server/mdserver-web/plugins/php-yum/versions && bash common.sh 83 install opcache |
|
|
|
# cd /www/server/mdserver-web/plugins/php-yum/versions && bash common.sh 83 install opcache |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#获取信息和版本 |
|
|
|
#获取信息和版本 |
|
|
|
# bash /www/server/mdserver-web/scripts/getos.sh |
|
|
|
# bash /www/server/mdserver-web/scripts/getos.sh |
|
|
|
bash ${rootPath}/scripts/getos.sh |
|
|
|
bash ${rootPath}/scripts/getos.sh |
|
|
|