summaryrefslogtreecommitdiff
path: root/packages/pkginfo.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-16 15:29:02 +0100
committerErich Eckner <git@eckner.net>2018-11-16 15:29:02 +0100
commit31b79e19c2b49e3fb4d01eb74ca7e8b543d8fd1d (patch)
tree711931d16734fd075c80024b6973abb87d19ded3 /packages/pkginfo.php
parent3e6fcf6de305ad2b3adf567ff6ffe6906d9b46f4 (diff)
downloadarchweb32-31b79e19c2b49e3fb4d01eb74ca7e8b543d8fd1d.tar.xz
packages/pkginfo.php: add hint to pkgbase if differing from pkgname
Diffstat (limited to 'packages/pkginfo.php')
-rw-r--r--packages/pkginfo.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 9fe7a1c..293bc6b 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -455,7 +455,7 @@ if (count($elsewhere)>0) {
</tr>
<?php
$count = count($content["split_packages"]);
-if ($count > 1) {
+if ($count > 1 || $content["pkgname"] != $content["pkgbase"]) {
print " <tr>\n";
print " <th>\n";
print " Split Packages:\n";
@@ -476,6 +476,9 @@ if ($count > 1) {
if ($count > 0)
print ", ";
}
+ if ($content["pkgname"] != $content["pkgbase"])
+ print " (" . $content["pkgbase"] . ")";
+ print "\n";
print " </td>\n";
print " </tr>\n";
}