From 0e03a8f045494d03b101e16853e35a253dd7d253 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 5 Dec 2021 16:55:37 +0100 Subject: [PATCH] Fix installing tiny on Alpine 3.15 (#471) --- install-php-extensions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install-php-extensions b/install-php-extensions index b83d7f4..5086f6d 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -997,7 +997,11 @@ buildRequiredPackageLists() { fi ;; tidy@alpine) - buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent tidyhtml-libs" + if test $DISTRO_MAJMIN_VERSION -ge 315; then + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent tidyhtml" + else + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent tidyhtml-libs" + fi buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile tidyhtml-dev" ;; tidy@debian)