summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 550e4cc26..4acc279f8 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -319,7 +319,7 @@ sub psUsingHdlists {
chomp;
s/\s*#.*$//;
/^\s*$/ and next;
- m/^hdlist(.*)\.cz\s*(.*)$/ or die "invalid hdlist filename $_";
+ m/^hdlist(.*)\.cz2?\s*(.*)$/ or die "invalid hdlist filename $_";
push @hdlists, [ $_, $1, $2 ];
}
@@ -925,7 +925,7 @@ sub install($$$;$$) {
my @badpkgs = map { $_->{file} } grep { !packageFlagInstalled($_) } @transToInstall;
@badpkgs > 0 and
- cdie _("The following packages have not been installed because of errors: %s", join("\n", @badpkgs)), sub {
+ cdie "error installing package list: " . join("\n", @badpkgs), sub {
&$close();
c::rpmdbClose($db);
};