Update yaf.sh

pull/123/head
midoks 3 years ago
parent 9ba8f0ad60
commit 5abddc101d
  1. 6
      plugins/php-apt/versions/common/yaf.sh

@ -18,9 +18,11 @@ if [ `echo "$version < 7.0"|bc` -eq 1 ];then
fi
extVer=`bash $rootPath/lib.sh $version`
extVer=`bash $curPath/lib.sh $version`
extFile=/usr/lib/php/${extVer}/${LIBNAME}.so
if [ "$sysName" == "Darwin" ];then
BAK='_bak'
else
@ -52,7 +54,7 @@ Install_lib()
make && make install && make clean
fi
echo "$extFile checking ..."
if [ ! -f "$extFile" ];then
echo "ERROR!"
return;

Loading…
Cancel
Save