diff options
-rwxr-xr-x | checkpkgist.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/checkpkgist.php b/checkpkgist.php index 3488d47..3bde4e2 100755 --- a/checkpkgist.php +++ b/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; } |