forked from josch/mmdebstrap
Compare commits
1 commit
6275b26fa2
...
c61e81a244
Author | SHA1 | Date | |
---|---|---|---|
|
c61e81a244 |
1 changed files with 1 additions and 1 deletions
|
@ -4498,7 +4498,7 @@ sub main() {
|
|||
# the --robot option was introduced in 1.20.0 but until 1.20.2 the
|
||||
# output contained a string after the version, separated by a
|
||||
# whitespace -- since then, it's only the version
|
||||
if ($? == 0 and $content =~ /^([0-9.]+)( .*)?$/) {
|
||||
if ($? == 0 and $content =~ /^([0-9.]+).*$/) {
|
||||
# dpkg is new enough for the --robot option
|
||||
$dpkgversion = version->new($1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue