Fix installing SSL library on Alpine 3.14

Test: imap,zip,imap+zip
pull/413/head
Michele Locati 2021-08-06 10:39:16 +02:00
parent 4560dd2753
commit 77633bd934
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 6 additions and 1 deletions

View File

@ -411,7 +411,12 @@ buildRequiredPackageLists() {
buildRequiredPackageLists_volatile='' buildRequiredPackageLists_volatile=''
case "$DISTRO" in case "$DISTRO" in
alpine) alpine)
if test $DISTRO_VERSION_NUMBER = '3.14'; then
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/12763#note_172090
apk -U upgrade
else
apk update apk update
fi
;; ;;
esac esac
case "$DISTRO_VERSION" in case "$DISTRO_VERSION" in