Update memcached.sh

This commit is contained in:
midoks 2022-07-14 21:58:41 +08:00
parent fee59e5e78
commit dbfee1e989
1 changed files with 1 additions and 3 deletions

View File

@ -43,9 +43,7 @@ Install_lib()
php_lib=$sourcePath/php_lib
mkdir -p $php_lib
rm -rf $php_lib/${LIBNAME}-${LIBV}
if [ ! -d $php_lib/${LIBNAME}-${LIBV} ];then
if [ ! -d $php_lib/${LIBNAME}-${LIBV}.tgz ];then
wget -O $php_lib/${LIBNAME}-${LIBV}.tgz http://pecl.php.net/get/${LIBNAME}-${LIBV}.tgz
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz
fi