Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-22 23:34:05 +0100
committerErich Eckner <git@eckner.net>2018-11-22 23:34:05 +0100
commit1d9456946e9025f0faeb97457dfc41ba24eddd10 (patch)
tree59d0a9936f20557c966b50eefea2a452d96894df
parente008715a82983a105d6fd689452898245687cf47 (diff)
packages/pkginfo.php: ignore < $max_version
-rw-r--r--packages/pkginfo.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index f877ef6..84f2569 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -129,7 +129,11 @@ require_once BASE . "/lib/style.php";
"\"}\"" .
")) AS `deps`," .
"IF(" .
- "`versions`.`order`=1 AND `dependencies`.`version_relation`=\">=\"," .
+ "(" .
+ "`versions`.`order`=1 AND `dependencies`.`version_relation`=\">=\"" .
+ ") OR (" .
+ "`versions`.`epoch`=8388607 AND `dependencies`.`version_relation`=\"<\"" .
+ ")," .
"\"\"," .
"CONCAT(" .
"`dependencies`.`version_relation`," .