summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcheckpkgist/checkpkgist.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/checkpkgist/checkpkgist.php b/checkpkgist/checkpkgist.php
index 3488d47..3bde4e2 100755
--- a/checkpkgist/checkpkgist.php
+++ b/checkpkgist/checkpkgist.php
@@ -116,6 +116,9 @@ foreach ($pkgs as $name => $rpm) {
$maxdat = false;
$display = false;
foreach ($pkgs['package']['versions'] as $pkver => $pkg) {
+ if (preg_match('/^v[\.0-9]*$/', $pkver)) {
+ $pkver = substr($pkver, 1);
+ }
if (strpos($pkver, 'dev') !== false) {
continue;
}