aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-13 14:39:37 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-13 14:39:37 +0000
commit423ccb17008c60be2dd8512e35187d8019261786 (patch)
tree0100eb382299ea77f7245fc5f114fd4228c8c682 /Rpmdrake/pkg.pm
parent45c7575b20db25c4e6deb01ac3b775c33a1229de (diff)
downloadrpmdrake-423ccb17008c60be2dd8512e35187d8019261786.tar
rpmdrake-423ccb17008c60be2dd8512e35187d8019261786.tar.gz
rpmdrake-423ccb17008c60be2dd8512e35187d8019261786.tar.bz2
rpmdrake-423ccb17008c60be2dd8512e35187d8019261786.tar.xz
rpmdrake-423ccb17008c60be2dd8512e35187d8019261786.zip
(display_READMEs_if_needed) fix error if urpm::install stoped early (#32504)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 04db46cd..3084e16f 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -428,6 +428,8 @@ sub get_pkgs {
sub display_READMEs_if_needed {
my ($urpm, $w) = @_;
+ use Data::Dumper; print Dumper $urpm->{readmes};
+ return if !$urpm->{readmes};
my %Readmes = %{$urpm->{readmes}};
if (keys %Readmes) { #- display the README*.urpmi files
interactive_packtable(