From 7e3cdc92b0a674ef1abf2ec89a9ab3f80ad27596 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Jan 2014 11:07:52 +0100 Subject: manage "beta" repo + save a few space --- rpm.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'rpm.php') diff --git a/rpm.php b/rpm.php index defd172..7ddcb77 100644 --- a/rpm.php +++ b/rpm.php @@ -155,6 +155,7 @@ function report($db, $type) } if (strpos($repo['sub'], '-os') + || strpos($repo['sub'], '-beta') || strpos($repo['sub'], '-base') || strpos($repo['sub'], '-optional') || strpos($repo['sub'], '-stable') @@ -199,8 +200,8 @@ function report($db, $type) break; case "updates": $display .= sprintf( - "%s-%s ". - "(%s)
", + "%s-%s". + "
(%s)
", $rpm['ver'], $rpm['rel'], $repo['sub'] @@ -211,7 +212,7 @@ function report($db, $type) break; case "testing": $display .= sprintf( - "%s-%s (%s)
", + "%s-%s
(%s)", $rpm['ver'], $rpm['rel'], $repo['sub'] -- cgit