]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/pakfire/pakfire
pakfire: use correct tree on x86_64.
[ipfire-2.x.git] / src / pakfire / pakfire
index 8bca061aba696b34807c6cda0e19f928fa668736..da68454dc6646600cb401be62398734727f7bf59 100644 (file)
        } elsif ("$ARGV[0]" eq "upgrade") {
                &Pakfire::upgradecore();
                my @upgradepaks = &Pakfire::dblist("upgrade", "noweb");
+               my @deps = ();
 
                if (@upgradepaks) {
                        # Resolve the dependencies of the to be upgraded packages
-                       my @deps = &Pakfire::resolvedeps_recursive(@upgradepaks);
+                       @deps = &Pakfire::resolvedeps_recursive(@upgradepaks);
 
                        &Pakfire::message("");
                        &Pakfire::message("PAKFIRE UPGR: We are going to install all packages listed above.");