Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
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
parent3e6fcf6de305ad2b3adf567ff6ffe6906d9b46f4 (diff)
packages/pkginfo.php: add hint to pkgbase if differing from pkgname
Diffstat (limited to 'packages')
-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";
}