Commit c8ce82ca authored by Nigel Kukard's avatar Nigel Kukard
Browse files

In Debian we have a -$revision version, support that too

parent 9ca3fb59
...@@ -1602,8 +1602,8 @@ sub getNumericVer ...@@ -1602,8 +1602,8 @@ sub getNumericVer
{ {
my $a = shift; my $a = shift;
# 000 000 000 # 000 000 000 - 000
my @a = split(/\./,$a); my @a = split(/[\.\-]/,$a);
# Quick fix for devel versions # Quick fix for devel versions
$a[2] = 0 if ($a[2] eq "x"); $a[2] = 0 if ($a[2] eq "x");
......
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