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)