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

Loading…
Cancel
Save