summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-06 17:24:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-06 17:24:08 +0000
commite47d0821bfd0def11d10bb68a46a3335934f283a (patch)
treecc930329350bc518f5c9dc586d4e3f0fb1d72091 /perl-install/pkgs.pm
parent1dfe0932b061617719939a72f91fb70ac4ac23b8 (diff)
downloaddrakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar
drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.gz
drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.bz2
drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.xz
drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.zip
perl_checker compliance
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index fb2960042..31646e367 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -155,7 +155,8 @@ sub packageByName {
$best = $_;
}
}
- $best or log::l("unknown package `$name'") && undef;
+ $best or log::l("unknown package `$name'");
+ $best;
}
sub packageById {
my ($packages, $id) = @_;