diff options
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/pkgbase.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php index 24bbbdc3..3369049e 100644 --- a/web/html/pkgbase.php +++ b/web/html/pkgbase.php @@ -115,6 +115,12 @@ if (check_token()) { } } +$pkgs = pkgbase_get_pkgnames($base_id); +if (count($pkgs) == 1) { + /* Not a split package. Redirect to the package page. */ + header('Location: ' . get_pkg_uri($pkgs[0])); +} + $details = pkgbase_get_details($base_id); html_header($title, $details); ?> |