Fix installing smbclient on old Alpine Linux versions

Test: smbclient
pull/268/head
Michele Locati 2021-01-21 17:27:51 +01:00
parent 0414c15e2d
commit da5be4b1cd
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 9 additions and 0 deletions

View File

@ -1810,6 +1810,15 @@ installRemoteModule() {
addConfigureOption 'enable-redis-zstd' 'yes' addConfigureOption 'enable-redis-zstd' 'yes'
fi 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) snuffleupagus)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
installRemoteModule_version=0.7.0 installRemoteModule_version=0.7.0