From da5be4b1cd903ee7096b1c5e68beedf42e4ee2c0 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 21 Jan 2021 17:27:51 +0100 Subject: [PATCH] Fix installing smbclient on old Alpine Linux versions Test: smbclient --- install-php-extensions | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index 25afde5..7f76a4c 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1810,6 +1810,15 @@ installRemoteModule() { addConfigureOption 'enable-redis-zstd' 'yes' fi ;; + smbclient) + if test -z "$installRemoteModule_version"; then + case "$DISTRO_VERSION" in + alpine@3.7 | alpine@3.8 | alpine@3.9) + installRemoteModule_version=1.0.1 + ;; + esac + fi + ;; snuffleupagus) if test -z "$installRemoteModule_version"; then installRemoteModule_version=0.7.0