Update install.sh

pull/143/head
midoks 3 years ago
parent d73ebac758
commit d71f9b11ba
  1. 5
      plugins/php/versions/74/install.sh

@ -64,9 +64,8 @@ echo "$sourcePath/php/php${PHP_VER}"
ZIP_OPTION='--with-zip' ZIP_OPTION='--with-zip'
libzip_version=`pkg-config libzip --modversion` libzip_version=`pkg-config libzip --modversion`
compare_ver=`echo "${libzip_version} >= 0.11"|bc`
if [ "$compare_ver" -eq "1" ];then
if [ `echo "$libzip_version >= 0.11"|bc` -eq 1 ];then
ZIP_OPTION="--with-zip=${serverPath}/lib/libzip" ZIP_OPTION="--with-zip=${serverPath}/lib/libzip"
fi fi

Loading…
Cancel
Save