diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-15 08:20:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-15 08:20:15 +0000 |
commit | 71918decd73c0761a75a5c970c76ba70fafffc9f (patch) | |
tree | 91528e338a5d6c876737364762b91fc3808ce96f | |
parent | 4394a9d20454725de32194400d2a5b75e910b07e (diff) | |
download | mgatools-71918decd73c0761a75a5c970c76ba70fafffc9f.tar mgatools-71918decd73c0761a75a5c970c76ba70fafffc9f.tar.gz mgatools-71918decd73c0761a75a5c970c76ba70fafffc9f.tar.bz2 mgatools-71918decd73c0761a75a5c970c76ba70fafffc9f.tar.xz mgatools-71918decd73c0761a75a5c970c76ba70fafffc9f.zip |
add a comment
-rw-r--r-- | pm/MGATools/rpmsrate.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pm/MGATools/rpmsrate.pm b/pm/MGATools/rpmsrate.pm index 190dd42..e899fb8 100644 --- a/pm/MGATools/rpmsrate.pm +++ b/pm/MGATools/rpmsrate.pm @@ -106,6 +106,7 @@ sub cleanrpmsrate { my $pkg; $pkg = $urpm->{rpm}{$urpm->{rpmkey}{key}{$key}} if ref $urpm; + # if package is not urpmi' synthesis, try to parse it directly: if (!$pkg) { my $id = $urpm2->parse_rpm("$dir/$rpm"); $pkg = $urpm2->{depslist}[$id]; |