From 0615a5a1bfed7b9c9632a7ac8d1408f491336157 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 10 Jul 2022 01:56:28 +0800 Subject: [PATCH] Update all_test.sh --- plugins/php-apt/versions/all_test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/php-apt/versions/all_test.sh b/plugins/php-apt/versions/all_test.sh index d057e6b21..9a51d4d83 100644 --- a/plugins/php-apt/versions/all_test.sh +++ b/plugins/php-apt/versions/all_test.sh @@ -16,7 +16,6 @@ serverPath=$(dirname "$rootPath") PHP_VER_LIST=(56 70 71 72 73 74 80 81) -# PHP_VER_LIST=(81) for PHP_VER in ${PHP_VER_LIST[@]}; do echo "php${PHP_VER} -- start" if [ ! -d /www/server/php-apt/${PHP_VER} ];then @@ -35,7 +34,7 @@ for PHP_VER in ${PHP_VER_LIST_EXT[@]}; do for EXT in ${PHP_EXT_LIST[@]}; do extFile=/usr/lib/php/${extVer}/${EXT}.so echo "${EXT} start" - if [ -f $extFile ];then + if [ ! -f $extFile ];then cd $curPath && /bin/bash common.sh $version install ${EXT} fi echo "${EXT} end"