Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 83ea3bb..d495cf0 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -237,6 +237,8 @@ require_once BASE . "/lib/style.php";
$dep_it = preg_replace("/[<=>].*$/","",$dep_it);
if (array_key_exists("Depends On",$json_content))
$js_dep = preg_replace("/[<=>].*$/","",$json_content["Depends On"]);
+ elseif (array_key_exists("Requires",$json_content))
+ $js_dep = preg_replace("/[<=>].*$/","",$json_content["Requires"]);
else
$js_dep = array();
if (!is_array($js_dep))