1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-10-31 15:45:03 -04:00

pacsearch: removed useless comment

Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Pierre Neidhardt 2014-02-09 19:41:39 +01:00 committed by Allan McRae
parent bf79c02440
commit 08cddb4b4b

View File

@ -138,7 +138,6 @@ if ($#querypkgs >= 0) {
foreach $_ (@querypkgs) { foreach $_ (@querypkgs) {
# we grab the following fields: repo, name, ver, group, installed, and desc # we grab the following fields: repo, name, ver, group, installed, and desc
my @pkgfields = /^(.*?)\/(.*?) (.*?) ?(\(.*?\))? ?(\[.*\])?\n(.*)$/s; my @pkgfields = /^(.*?)\/(.*?) (.*?) ?(\(.*?\))? ?(\[.*\])?\n(.*)$/s;
# my @pkgfields = /^(.*?)\/(.*?) ?(\[.*\])?\n(.*)$/s;
# skip any non-matching line # skip any non-matching line
next if not defined $pkgfields[1]; next if not defined $pkgfields[1];
# check if the package was listed in the sync out # check if the package was listed in the sync out