mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
pakfire: Fix installing dependencies when updating packages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -255,10 +255,11 @@
|
||||
} 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.");
|
||||
|
||||
Reference in New Issue
Block a user