From 5827eadfa9792e3918c7c841dcdf50203b42acf4 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 14 Jan 2019 16:49:50 +0800 Subject: [PATCH] Update yaf.sh --- plugins/php/versions/56/yaf.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/php/versions/56/yaf.sh b/plugins/php/versions/56/yaf.sh index b0c7b2af2..767098298 100755 --- a/plugins/php/versions/56/yaf.sh +++ b/plugins/php/versions/56/yaf.sh @@ -10,8 +10,8 @@ rootPath=$(dirname "$rootPath") rootPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath") sourcePath=${serverPath}/source/php -echo $serverPath,$sourcePath -Install_yaf() + +Install_lib() { extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20131226/yaf.so @@ -57,7 +57,7 @@ Install_yaf() } -Uninstall_yaf() +Uninstall_lib() { if [ ! -f "$serverPath/php/$version/bin/php-config" ];then echo "php$version 未安装,请选择其它版本!" @@ -83,7 +83,7 @@ Uninstall_yaf() actionType=$1 version=$2 if [ "$actionType" == 'install' ];then - Install_yaf + Install_lib elif [ "$actionType" == 'uninstall' ];then - Uninstall_yaf + Uninstall_lib fi \ No newline at end of file