biblatex-biber-ms: fix registry_deactivate hack

This commit is contained in:
Dan R. K. Ports
2026-06-02 12:47:16 -07:00
parent 38bc4c3551
commit 000bb9bd2e
+8 -4
View File
@@ -127,10 +127,14 @@ post-destroot {
pre-activate {
# Avoid conflict with texlive-bibtex-extra which used to list
# biber-ms in texlive.binaries.
if {![catch {set vers [lindex [registry_active texlive-bibtex-extra] 0]}]
&& [vercmp [lindex $vers 2] 1] < 0} {
registry_deactivate_composite texlive-bibtex-extra "" \
[list ports_nodepcheck 1]
if {![catch {set vers [lindex [registry_active texlive-bibtex-extra] 0]}]} {
set v [lindex $vers 1]
set r [lindex $vers 2]
if {[vercmp $v 78219] < 0
|| ([vercmp $v 78219] == 0 && [vercmp $r 1] < 0)} {
registry_deactivate_composite texlive-bibtex-extra "" \
[list ports_nodepcheck 1]
}
}
}