Fixed bug, pakfire isntalls dependencies twice -> needs testing.
authorChristian Schmidt <maniacikarus@ipfire.org>
Fri, 14 Aug 2009 11:38:44 +0000 (13:38 +0200)
committerChristian Schmidt <maniacikarus@ipfire.org>
Fri, 14 Aug 2009 11:38:44 +0000 (13:38 +0200)
config/rootfiles/core/30/filelists/files
src/pakfire/pakfire

index a36eb4a..3974d24 100644 (file)
@@ -8,3 +8,4 @@ srv/web/ipfire/cgi-bin/qos.cgi
 srv/web/ipfire/cgi-bin/index.cgi
 srv/web/ipfire/cgi-bin/gui.cgi
 srv/web/ipfire/cgi-bin/pakfire.cgi
+opt/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:");
                }