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 a36eb4a957476db09d454454663226f239da24ec..3974d247649a7d86f296f0a1f7b740c75bf0c0b0 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 19b5962c26ce8e09a75db750babd309f20067916..e46b73410bd5287f265a2026a6136226878897d9 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:");
                }