forked from josch/mmdebstrap
use standard character classes instead of bracketed character classes
This commit is contained in:
parent
b385eb548a
commit
34a9de929d
1 changed files with 1 additions and 1 deletions
|
@ -4452,7 +4452,7 @@ sub main() {
|
|||
);
|
||||
close $fh;
|
||||
if ( $? == 0
|
||||
and $content =~ /^apt ([0-9]+\.[0-9]+\.[0-9]+)[a-z0-9]* \([a-z0-9-]+\)$/m) {
|
||||
and $content =~ /^apt (\d+\.\d+\.\d+)\w* \(\S+\)$/am) {
|
||||
$aptversion = version->new($1);
|
||||
}
|
||||
if ($aptversion < "2.3.14") {
|
||||
|
|
Loading…
Reference in a new issue