mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-12 09:29:56 +01:00
Merge pull request #288 from mlocati/ssh2
Simplify handling of ssh2 version
This commit is contained in:
commit
ea4b399dc5
@ -1893,10 +1893,8 @@ installRemoteModule() {
|
|||||||
if test $PHP_MAJMIN_VERSION -le 506; then
|
if test $PHP_MAJMIN_VERSION -le 506; then
|
||||||
installRemoteModule_version=0.13
|
installRemoteModule_version=0.13
|
||||||
elif test $PHP_MAJMIN_VERSION -le 704; then
|
elif test $PHP_MAJMIN_VERSION -le 704; then
|
||||||
installRemoteModule_version=1.2
|
installRemoteModule_version=beta
|
||||||
fi
|
else
|
||||||
fi
|
|
||||||
if test -z "$installRemoteModule_version" && test $PHP_MAJMIN_VERSION -ge 800; then
|
|
||||||
installRemoteModule_src="$(getPackageSource https://codeload.github.com/php/pecl-networking-ssh2/tar.gz/93265d71bdeb23350e8320126c7949ed791310df)"
|
installRemoteModule_src="$(getPackageSource https://codeload.github.com/php/pecl-networking-ssh2/tar.gz/93265d71bdeb23350e8320126c7949ed791310df)"
|
||||||
cd -- "$installRemoteModule_src"
|
cd -- "$installRemoteModule_src"
|
||||||
phpize
|
phpize
|
||||||
@ -1906,6 +1904,7 @@ installRemoteModule() {
|
|||||||
cd - >/dev/null
|
cd - >/dev/null
|
||||||
installRemoteModule_manuallyInstalled=1
|
installRemoteModule_manuallyInstalled=1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
snuffleupagus)
|
snuffleupagus)
|
||||||
if test -z "$installRemoteModule_version"; then
|
if test -z "$installRemoteModule_version"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user