Commit dc8850c0 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 678772: version.pm 0.92 and newer forbids negative values, making checksetup.pl to fail

r/a=mkanat
parent fe80341c
......@@ -724,8 +724,9 @@ sub _checking_for {
# show "ok" or "not found".
if (exists $params->{found}) {
my $found_string;
# We do a string compare in case it's non-numeric.
if ($found and $found eq "-1") {
# We do a string compare in case it's non-numeric. We make sure
# it's not a version object as negative versions are forbidden.
if ($found && !ref($found) && $found eq '-1') {
$found_string = install_string('module_not_found');
}
elsif ($found) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment