index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/pkginfo.php | 2 |
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)) |