diff options
author | Guillem Jover <guillem@debian.org> | 2014-08-29 19:27:02 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-10-06 00:27:22 +0200 |
commit | f85c96ff672cfd9c1526a8387f088dbfc51df569 (patch) | |
tree | d38e9138a29a3e3b7aee7e14b06bbcf027e213b3 /dselect/methods | |
parent | 2e5f5b658c7c7153d3131e7224d9c337c0be1164 (diff) | |
download | dpkg-f85c96ff672cfd9c1526a8387f088dbfc51df569.tar.gz |
dselect: Remove unnecessary handling of obsolete Package_Revision field
This is automatically handled by «dpkg-deb --field» now that it uses
the libdpkg deb822 parser.
Diffstat (limited to 'dselect/methods')
-rwxr-xr-x | dselect/methods/ftp/install | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dselect/methods/ftp/install b/dselect/methods/ftp/install index 0ccc9dd1b..a1cbb5611 100755 --- a/dselect/methods/ftp/install +++ b/dselect/methods/ftp/install @@ -474,7 +474,6 @@ sub getdebinfo($) { close($pkgfile_fh); $pkg = $fields{'package'}; $ver = $fields{'version'}; - if($fields{'package_revision'}) { $ver .= '-' . $fields{'package_revision'}; } return $pkg, $ver; } elsif ( $type == 2) { open(my $pkgfile_fh, '-|', "dpkg-split --info $fn") |