summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index 53ce4b6e..6bd89300 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -160,9 +160,7 @@ sub register_rpms {
or $error = 1, $urpm->{error}(N("unable to parse spec file %s [%s]", $_, $!)), next;
$id = @{$urpm->{depslist}};
$urpm->{depslist}[$id] = $pkg;
- #- It happens that URPM sets an internal id to the depslist id.
- #- We need to set it by hand here.
- $pkg->set_id($id);
+ $pkg->set_id($id); #- sets internal id to the depslist id.
$urpm->{source}{$id} = $_;
} else {
($id) = $urpm->parse_rpm($_);