From 1d9456946e9025f0faeb97457dfc41ba24eddd10 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 22 Nov 2018 23:34:05 +0100 Subject: packages/pkginfo.php: ignore < $max_version --- packages/pkginfo.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages') 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`," . -- cgit v1.2.3-70-g09d2