index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-21 11:29:41 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-21 11:29:41 +0100 |
commit | f6d580ac95937df48bcc322032469828b9cc43e6 (patch) | |
tree | d2ca138fe92743e47bd409994e147f800762d11b /packages | |
parent | 225fef295a1f6e9187c0ffc96eb85d8108ce89bb (diff) |
-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)) |