Merge pull request #288 from mlocati/ssh2

Simplify handling of ssh2 version
pull/291/head
Michele Locati 2021-02-02 20:52:05 +01:00 committed by GitHub
commit ea4b399dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 11 deletions

View File

@ -1893,10 +1893,8 @@ installRemoteModule() {
if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=0.13
elif test $PHP_MAJMIN_VERSION -le 704; then
installRemoteModule_version=1.2
fi
fi
if test -z "$installRemoteModule_version" && test $PHP_MAJMIN_VERSION -ge 800; then
installRemoteModule_version=beta
else
installRemoteModule_src="$(getPackageSource https://codeload.github.com/php/pecl-networking-ssh2/tar.gz/93265d71bdeb23350e8320126c7949ed791310df)"
cd -- "$installRemoteModule_src"
phpize
@ -1906,6 +1904,7 @@ installRemoteModule() {
cd - >/dev/null
installRemoteModule_manuallyInstalled=1
fi
fi
;;
snuffleupagus)
if test -z "$installRemoteModule_version"; then