diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-09-24 10:54:20 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-09-24 10:54:20 +0200 |
commit | d106ebb78b048e4a680ecb554f994e1d0dacbb26 (patch) | |
tree | 4f433a6080185c1cae7679a6c364716338a51f0d | |
parent | 194c69840731b7fb4f8e7ff3451bac4624aec8d8 (diff) |
checkpkgist: display all new version in verbose mode
-rwxr-xr-x | checkpkgist/checkpkgist.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/checkpkgist/checkpkgist.php b/checkpkgist/checkpkgist.php index fe16b40..48c3d11 100755 --- a/checkpkgist/checkpkgist.php +++ b/checkpkgist/checkpkgist.php @@ -122,9 +122,11 @@ function run($name, $rpm) { ($pkg['source']['reference']?:'unkown')); } $display = true; - break; + if (!$verb) { + break; + } } - else if (version_compare($pkver, $rpmver, 'eq') && $verb) { + else if (version_compare($pkver, $rpmver, 'eq') && $verb && !$display) { printf(" %-40s %15s %15s %15s\n", $rpm, $rpmver, $pkver, $date->format("Y-m-d")); $display = true; break; |