Index: openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl,v diff -u -r1.132 -r1.133 --- openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 9 Oct 2024 14:42:06 -0000 1.132 +++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 28 Dec 2024 16:58:25 -0000 1.133 @@ -2221,9 +2221,20 @@ $doc documentElement root foreach node [$root selectNodes {//ul/li/a}] { set href [$node getAttribute href] - if {[regexp {^(\d+[-]\d+)} $href . version]} { + if {[regexp {^(\d+[-]\d+[-]?\d*)} $href . version]} { set name $version - set tag oacs-$version + # + # Try to get the tag from the span node right after the "a" element. + # + set spanNode [lindex [[$node parentNode] selectNodes {span}] 0] + if {$spanNode ne ""} { + set tag [$spanNode text] + } else { + # + # Fall back to old version + # + set tag oacs-$version + } lappend repositories [list $name $tag] } else { #set txt [string trim [$node asText]]