mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix dependency sorting
Fixes a regression introduced in 9d2d8f1
(Honor virtual provisions in
package requirements, 2015-09-17).
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
f5b4f7e996
commit
d18a9638c6
1 changed files with 2 additions and 1 deletions
|
@ -40,6 +40,8 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("Y-m-d", intval($
|
|||
$lics = pkg_licenses($row["ID"]);
|
||||
$grps = pkg_groups($row["ID"]);
|
||||
|
||||
$deps = pkg_dependencies($row["ID"]);
|
||||
|
||||
usort($deps, function($x, $y) {
|
||||
if ($x[1] != $y[1]) {
|
||||
if ($x[1] == "depends") {
|
||||
|
@ -80,7 +82,6 @@ foreach ($rels as $rel) {
|
|||
}
|
||||
}
|
||||
|
||||
$deps = pkg_dependencies($row["ID"]);
|
||||
$requiredby = pkg_required($row["Name"], $rels_p);
|
||||
|
||||
# $sources[0] = 'src';
|
||||
|
|
Loading…
Add table
Reference in a new issue