diff options
author | Justin Davis <jrcd83@gmail.com> | 2011-12-29 22:42:00 +0100 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2011-12-29 22:42:00 +0100 |
commit | 6c772cdc1b485e39127f0e9f216dd343ee214cdb (patch) | |
tree | c18b14eb85e0e41e38f480a534b9d8f13c9cfdbd /lib/metas | |
parent | de2b562b61f7cd5b514dea9f2739d970b789c331 (diff) | |
download | genpkg-6c772cdc1b485e39127f0e9f216dd343ee214cdb.tar.gz genpkg-6c772cdc1b485e39127f0e9f216dd343ee214cdb.tar.xz |
Consider "unknown" abstracts as undefined.
Diffstat (limited to 'lib/metas')
-rwxr-xr-x | lib/metas/perl.d/perl-dist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/metas/perl.d/perl-dist b/lib/metas/perl.d/perl-dist index 30eda37..cefcaf9 100755 --- a/lib/metas/perl.d/perl-dist +++ b/lib/metas/perl.d/perl-dist @@ -336,7 +336,7 @@ sub main my $meta = loadmeta($dir); my $desc = $meta->{'abstract'}; - if(!$desc || $desc eq '~') { + if(!$desc || $desc eq '~' || $desc eq 'unknown') { $meta->{'abstract'} = distdesc($dir, $info->{'mod'}); } |