search for: 8410ca2

Displaying 1 result from an estimated 1 matches for "8410ca2".

2010 Feb 12
1
[PATCH] GuestOS: Fix _is_installed to return 0 if the package isn't installed
...et. If the package wasn't installed at all it was returning an error. --- lib/Sys/VirtV2V/GuestOS/RedHat.pm | 29 +++++++++++++++++++++++++++-- 1 files changed, 27 insertions(+), 2 deletions(-) diff --git a/lib/Sys/VirtV2V/GuestOS/RedHat.pm b/lib/Sys/VirtV2V/GuestOS/RedHat.pm index 9561338..8410ca2 100644 --- a/lib/Sys/VirtV2V/GuestOS/RedHat.pm +++ b/lib/Sys/VirtV2V/GuestOS/RedHat.pm @@ -710,8 +710,33 @@ sub _is_installed # Search installed rpms matching <name>.<arch> my $found = 0; - foreach my $installed ($g->command_lines(['rpm', '-q', '--q...