relax apt version regex even further to be able to cope with versions like 2.5.3ubuntu0.1
This commit is contained in:
parent
9ebb3d07ac
commit
8f8f5bd706
1 changed files with 1 additions and 1 deletions
|
@ -4713,7 +4713,7 @@ sub main() {
|
||||||
);
|
);
|
||||||
close $fh;
|
close $fh;
|
||||||
if ( $? == 0
|
if ( $? == 0
|
||||||
and $content =~ /^apt (\d+\.\d+\.\d+)\w* \(\S+\)$/am) {
|
and $content =~ /^apt (\d+\.\d+\.\d+)\S* \(\S+\)$/am) {
|
||||||
$aptversion = version->new($1);
|
$aptversion = version->new($1);
|
||||||
}
|
}
|
||||||
if ($aptversion < "2.3.14") {
|
if ($aptversion < "2.3.14") {
|
||||||
|
|
Loading…
Reference in a new issue