diff options
author | Erich Eckner <git@eckner.net> | 2018-11-16 15:29:02 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-16 15:29:02 +0100 |
commit | 31b79e19c2b49e3fb4d01eb74ca7e8b543d8fd1d (patch) | |
tree | 711931d16734fd075c80024b6973abb87d19ded3 /packages/pkginfo.php | |
parent | 3e6fcf6de305ad2b3adf567ff6ffe6906d9b46f4 (diff) | |
download | archweb32-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.php | 5 |
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"; } |