summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcheckpkgist.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/checkpkgist.php b/checkpkgist.php
index 3bde4e2..77c52b2 100755
--- a/checkpkgist.php
+++ b/checkpkgist.php
@@ -103,6 +103,10 @@ if ($sort) {
printf(" %-40s %15s %15s %15s\n", "Name", "Version", "Upstream", "Date");
foreach ($pkgs as $name => $rpm) {
+ if (!$quiet) {
+ printf(" %-40s\r", $rpm);
+ }
+
$rpmver = exec("rpm -q --qf '%{VERSION}' $rpm", $out, $ret);
if ($ret) {
if ($quiet) {
@@ -159,4 +163,5 @@ foreach ($pkgs as $name => $rpm) {
} else {
printf(" %-40s %15s %15s\n", $rpm, $rpmver, 'Not found !');
}
-} \ No newline at end of file
+}
+echo str_repeat(' ', 50)."\n";