index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/pkginfo.php | 3 |
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 20d93c9..805e1ab 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -393,7 +393,8 @@ if (count($elsewhere)>0) { if (count($dep["deps"]) == 0) { print "<font color=\"#ff0000\">not satisfiable dependency: \"" . $dep["install_target"] . "\"</font>\n"; } else { - if (count($dep["deps"]) > 1) { + if ((count($dep["deps"]) > 1) || + (array_values($dep["deps"])[0]["pkgname"] != $dep["install_target"])) { print $dep["install_target"]; print " <span class=\"virtual-dep\">("; }; |