Bug 37818: Remove 'XXX' from the installer code

We were adding "XXX" that was replaced with "999" before the move to the atomic update files (bug 13068).

We do no longer need this code.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-09-03 11:43:49 +02:00 committed by Katrin Fischer
parent e1b660303f
commit 61868152f2
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -55,10 +55,6 @@ sub TransformToNum {
# remove the 3 last . to have a Perl number
$version =~ s/(.*\..*)\.(.*)\.(.*)/$1$2$3/;
# three X's at the end indicate that you are testing patch with dbrev
# change it into 999
# prevents error on a < comparison between strings (should be: lt)
$version =~ s/XXX$/999/;
return $version;
}