Fixed bug, pakfire isntalls dependencies twice -> needs testing.
[people/pmueller/ipfire-2.x.git] / src / pakfire / pakfire
index 19b5962..e46b734 100644 (file)
                }
 
                if (@deps) {
-                       #my %sort = map{ $_, 1 } @deps;
-                       #@deps = sort keys %sort;
+                       my %sort = map{ $_, 1 } @deps;
+                       @deps = sort keys %sort;
                        &Pakfire::message("");
                        &Pakfire::message("PAKFIRE INFO: Packages to install for dependencies:");
                }