Fix installing tiny on Alpine 3.15 (#471)

pull/472/head 1.4.4
Michele Locati 2021-12-05 16:55:37 +01:00 committed by GitHub
parent c6977dd148
commit 0e03a8f045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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)