Update yar.sh

pull/620/head
Mr Chen 10 months ago
parent 1d48010a0d
commit a886359e94
  1. 10
      plugins/php-apt/versions/common/yar.sh

@ -17,10 +17,18 @@ sysName=`uname`
LIBNAME=yar
LIBV=2.3.2
if [ `echo "$version < 7.0"|bc` -eq 1 ];then
if [[ "$version" =~ "8.0" ]];then
LIBV=3.3.6
fi
if [[ "$version" =~ "5.0" ]];then
LIBV=1.2.5
fi
if [[ "$version" =~ "7.0" ]];then
LIBV=2.3.2
fi
extVer=`bash $curPath/lib.sh $version`
extFile=/usr/lib/php/${extVer}/${LIBNAME}.so

Loading…
Cancel
Save