From adec2f9a3c6f5956c98795379caf1a4d49013ef9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 27 May 2008 13:36:04 +0000 Subject: (get_installed_packages) fix crash in URPM with non standard package names (#41002) --- Rpmdrake/pkg.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Rpmdrake') diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 89f1d827..bd25caf9 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -327,6 +327,7 @@ sub get_installed_packages { my ($pkg) = @_; update_pbar($gurpm); my $fullname = urpm_name($pkg); + return if $fullname =~ /@/; #- Extract summary and description since they'll be lost when the header is packed $all_pkgs->{$fullname} = { selected => 0, pkg => $pkg, urpm_name => urpm_name($pkg), -- cgit v1.2.1